Assigned to fixes

stable
Xavier Julián 2016-01-29 13:37:44 +01:00
parent 7f8376d35f
commit b7943c1a88
2 changed files with 2 additions and 1 deletions

View File

@ -304,6 +304,7 @@ AssignedToDirective = ($rootscope, $confirm, $repo, $loading, $qqueue, $template
isUnassigned: isUnassigned
isEditable: isEditable()
isIocaine: isIocaine
fullNameVisible: !(isUnassigned && !$currentUserService.isAuthenticated())
}
html = $compile(template(ctx))($scope)
$el.html(html)

View File

@ -19,7 +19,7 @@
class!="user-assigned <% if (isEditable) { %>editable<% }; %>"
)
span.assigned-name
<% if (isEditable && isUnassigned) { %>
<% if (fullNameVisible) { %>
<%- fullName %>
<% }; %>
<% if (isEditable && !isUnassigned) { %>