[Backport] Assigned to fixes

stable
Xavier Julián 2016-01-29 13:37:44 +01:00 committed by David Barragán Merino
parent fe2eb3b082
commit 00ac20f9aa
2 changed files with 2 additions and 1 deletions

View File

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

View File

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