Fix show/hide buttons on backlog options

stable
Xavier Julián 2015-10-14 09:19:23 +02:00 committed by Alejandro Alonso
parent a52790ff28
commit f3e9110351
2 changed files with 4 additions and 2 deletions

View File

@ -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")

View File

@ -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"