Open/close eye
parent
6ed24cb46e
commit
4e42484fd8
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue