diff --git a/css/style.scss b/css/style.scss index eb4961204..296ee88c9 100644 --- a/css/style.scss +++ b/css/style.scss @@ -57,7 +57,9 @@ input.input-inline { border-radius: 0; } - +#app img { + box-sizing: content-box; +} #searchbox { display: flex !important; @@ -713,7 +715,7 @@ input.input-inline { .assigned-user { position: relative; - .avatardiv { + .avatardiv-container { margin-right: 5px; } .icon-delete { @@ -929,7 +931,7 @@ input.input-inline { #assigned-users { display: flex; - .avatardiv { + .avatardiv-container { margin: 6px; } } @@ -996,6 +998,10 @@ input.input-inline { } } +.avatardiv-container { + position: relative; +} + #board-detail-labels { ul li { input { diff --git a/js/directive/avatar.js b/js/directive/avatar.js index 85a253a26..fde199ce1 100644 --- a/js/directive/avatar.js +++ b/js/directive/avatar.js @@ -26,11 +26,12 @@ app.directive('avatar', function() { restrict: 'A', scope: true, link: function(scope, element, attr){ - attr.$observe('displayname', function(value){ - if(value!==undefined) { - $(element).avatar(value, 32); - } - }); + var value = attr.user; + $(element).wrap('
'); + if(attr.contactsmenu && oc_current_user !== value) { + $(element).contactsMenu(value, 0, $(element).parent()); + } + $(element).avatar(value, 32, false, false, false, attr.displayname); } }; }); \ No newline at end of file diff --git a/templates/part.board.mainView.php b/templates/part.board.mainView.php index 079006181..823527d11 100644 --- a/templates/part.board.mainView.php +++ b/templates/part.board.mainView.php @@ -82,7 +82,7 @@
-
+
diff --git a/templates/part.board.sidebarView.php b/templates/part.board.sidebarView.php index 1379acb74..8d44d34dd 100644 --- a/templates/part.board.sidebarView.php +++ b/templates/part.board.sidebarView.php @@ -25,7 +25,7 @@ {{ $item.participant.displayname }} -
+
{{ sharee.participant.displayname }} @@ -39,14 +39,14 @@
  • -
    +
    {{ boardservice.getCurrent().owner.displayname }}
  • -
    +
    diff --git a/templates/part.boardlist.php b/templates/part.boardlist.php index 049dfa86a..3047d0c36 100644 --- a/templates/part.boardlist.php +++ b/templates/part.boardlist.php @@ -41,8 +41,8 @@
    -
    -
    +
    +
    diff --git a/templates/part.card.php b/templates/part.card.php index d2c14e1ea..ce61812ad 100644 --- a/templates/part.card.php +++ b/templates/part.card.php @@ -62,13 +62,13 @@ {{ $item.participant.displayname }} -
    {{ user.displayname }} +
    {{ user.displayname }}
    -
    +