Open/close eye

stable
Xavier Julián 2016-04-19 14:05:17 +02:00 committed by Juanfran
parent 6ed24cb46e
commit 4e42484fd8
2 changed files with 4 additions and 4 deletions

View File

@ -329,7 +329,7 @@ KanbanArchivedStatusHeaderDirective = ($rootscope, $translate) ->
status = $scope.$eval($attrs.tgKanbanArchivedStatusHeader)
hidden = true
$scope.class = "icon-open-eye"
$scope.class = "icon-watch"
$scope.title = showArchivedText
$el.on "click", (event) ->
@ -337,12 +337,12 @@ KanbanArchivedStatusHeaderDirective = ($rootscope, $translate) ->
$scope.$apply ->
if hidden
$scope.class = "icon-open-eye"
$scope.class = "icon-watch"
$scope.title = showArchivedText
$rootscope.$broadcast("kanban:hide-userstories-for-status", status.id)
else
$scope.class = "icon-closed-eye"
$scope.class = "icon-unwatch"
$scope.title = hideArchivedText
$rootscope.$broadcast("kanban:show-userstories-for-status", status.id)

View File

@ -60,7 +60,7 @@ div.kanban-table(tg-kanban-squish-column)
ng-class="class"
ng-if="s.is_archived"
tg-kanban-archived-status-header="s")
tg-svg.bulk-action(svg-icon="icon-watch")
tg-svg.bulk-action(svg-icon="{{class}}")
div.kanban-table-body
div.kanban-table-inner