[Backport] Assigned to fixes
parent
fe2eb3b082
commit
00ac20f9aa
|
@ -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)
|
||||||
|
|
|
@ -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) { %>
|
||||||
|
|
Loading…
Reference in New Issue