Show avatar on the cards
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -31,7 +31,7 @@
|
||||
.avatar-20 .avatar-letter {
|
||||
line-height: 20px;
|
||||
width: 20px;
|
||||
font-size: 11px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.avatar-letter {
|
||||
|
||||
@@ -55,17 +55,8 @@ a.task-board-collapsed-title {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.task-board-user {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.task-board-current-user a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.task-board-current-user a:focus,
|
||||
.task-board-current-user a:hover {
|
||||
text-decoration: none;
|
||||
.task-board-change-assignee {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a.task-board-nobody {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -148,8 +148,13 @@ Board.prototype.changeTaskState = function(taskId) {
|
||||
Board.prototype.listen = function() {
|
||||
var self = this;
|
||||
|
||||
$(document).on("click", ".task-board-change-assignee", function(e) {
|
||||
e.preventDefault();
|
||||
self.app.popover.open($(this).data('url'));
|
||||
});
|
||||
|
||||
$(document).on("click", ".task-board", function(e) {
|
||||
if (e.target.tagName != "A") {
|
||||
if (e.target.tagName != "A" && e.target.tagName != "IMG") {
|
||||
window.location = $(this).data("task-url");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user