Fix show/hide buttons on backlog options
parent
a52790ff28
commit
f3e9110351
|
@ -705,12 +705,12 @@ BacklogDirective = ($repo, $rootscope, $translate) ->
|
||||||
elm.addClass("active")
|
elm.addClass("active")
|
||||||
|
|
||||||
text = $translate.instant("BACKLOG.TAGS.HIDE")
|
text = $translate.instant("BACKLOG.TAGS.HIDE")
|
||||||
elm.find(".text").text(text)
|
elm.text(text)
|
||||||
else
|
else
|
||||||
elm.removeClass("active")
|
elm.removeClass("active")
|
||||||
|
|
||||||
text = $translate.instant("BACKLOG.TAGS.SHOW")
|
text = $translate.instant("BACKLOG.TAGS.SHOW")
|
||||||
elm.find(".text").text(text)
|
elm.text(text)
|
||||||
|
|
||||||
showHideFilter = ($scope, $el, $ctrl) ->
|
showHideFilter = ($scope, $el, $ctrl) ->
|
||||||
sidebar = $el.find("sidebar.filters-bar")
|
sidebar = $el.find("sidebar.filters-bar")
|
||||||
|
|
|
@ -32,12 +32,14 @@ div.wrapper(tg-backlog, ng-controller="BacklogController as ctrl",
|
||||||
span.icon.icon-move
|
span.icon.icon-move
|
||||||
span.text(translate="BACKLOG.MOVE_US_TO_CURRENT_SPRINT")
|
span.text(translate="BACKLOG.MOVE_US_TO_CURRENT_SPRINT")
|
||||||
a.trans-button(
|
a.trans-button(
|
||||||
|
ng-if="userstories.length"
|
||||||
href=""
|
href=""
|
||||||
title="{{'BACKLOG.FILTERS.TOGGLE' | translate}}"
|
title="{{'BACKLOG.FILTERS.TOGGLE' | translate}}"
|
||||||
id="show-filters-button"
|
id="show-filters-button"
|
||||||
translate="BACKLOG.FILTERS.SHOW"
|
translate="BACKLOG.FILTERS.SHOW"
|
||||||
)
|
)
|
||||||
a.trans-button(
|
a.trans-button(
|
||||||
|
ng-if="userstories.length"
|
||||||
href=""
|
href=""
|
||||||
title="{{'BACKLOG.TAGS.TOGGLE' | translate}}"
|
title="{{'BACKLOG.TAGS.TOGGLE' | translate}}"
|
||||||
id="show-tags"
|
id="show-tags"
|
||||||
|
|
Loading…
Reference in New Issue