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