Fixing the 'filtering users' text on watchers and assigned to lightboxes
parent
10b74afba3
commit
0d93812918
|
@ -469,7 +469,6 @@ AssignedToLightboxDirective = (lightboxService, lightboxKeyboardNavigationServic
|
||||||
}
|
}
|
||||||
|
|
||||||
html = usersTemplate(ctx)
|
html = usersTemplate(ctx)
|
||||||
|
|
||||||
html = $compile(html)($scope)
|
html = $compile(html)($scope)
|
||||||
|
|
||||||
$el.find("div.watchers").html(html)
|
$el.find("div.watchers").html(html)
|
||||||
|
@ -537,7 +536,7 @@ module.directive("tgLbAssignedto", ["lightboxService", "lightboxKeyboardNavigati
|
||||||
## Watchers Lightbox directive
|
## Watchers Lightbox directive
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationService, $template) ->
|
WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationService, $template, $compile) ->
|
||||||
link = ($scope, $el, $attrs) ->
|
link = ($scope, $el, $attrs) ->
|
||||||
selectedItem = null
|
selectedItem = null
|
||||||
usersTemplate = $template.get("common/lightbox/lightbox-assigned-to-users.html", true)
|
usersTemplate = $template.get("common/lightbox/lightbox-assigned-to-users.html", true)
|
||||||
|
@ -566,6 +565,7 @@ WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationS
|
||||||
}
|
}
|
||||||
|
|
||||||
html = usersTemplate(ctx)
|
html = usersTemplate(ctx)
|
||||||
|
html = $compile(html)($scope)
|
||||||
$el.find("div.watchers").html(html)
|
$el.find("div.watchers").html(html)
|
||||||
|
|
||||||
closeLightbox = () ->
|
closeLightbox = () ->
|
||||||
|
@ -616,4 +616,4 @@ WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationS
|
||||||
link:link
|
link:link
|
||||||
}
|
}
|
||||||
|
|
||||||
module.directive("tgLbWatchers", ["$tgRepo", "lightboxService", "lightboxKeyboardNavigationService", "$tgTemplate", WatchersLightboxDirective])
|
module.directive("tgLbWatchers", ["$tgRepo", "lightboxService", "lightboxKeyboardNavigationService", "$tgTemplate", "$compile", WatchersLightboxDirective])
|
||||||
|
|
|
@ -18,6 +18,6 @@
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
|
||||||
<% if (showMore) { %>
|
<% if (showMore) { %>
|
||||||
div(ng-show="filteringUsers", class="more-watchers")
|
div(class="more-watchers")
|
||||||
span(translate="COMMON.ASSIGNED_TO.TOO_MANY")
|
span(translate="COMMON.ASSIGNED_TO.TOO_MANY")
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in New Issue