Set more apropiate name to kanban row width fixer directive.
parent
fed86f8d4f
commit
6408ab2f61
|
@ -234,7 +234,7 @@ module.directive("tgKanban", ["$tgRepo", "$rootScope", KanbanDirective])
|
|||
## Kanban Row Size Fixer Directive
|
||||
#############################################################################
|
||||
|
||||
KanbanRowSizeFixer = ->
|
||||
KanbanRowWidthFixerDirective = ->
|
||||
link = ($scope, $el, $attrs) ->
|
||||
bindOnce $scope, "usStatusList", (statuses) ->
|
||||
itemSize = 310
|
||||
|
@ -243,7 +243,7 @@ KanbanRowSizeFixer = ->
|
|||
|
||||
return {link: link}
|
||||
|
||||
module.directive("tgKanbanRowSizeFixer", KanbanRowSizeFixer)
|
||||
module.directive("tgKanbanRowWidthFixer", KanbanRowWidthFixerDirective)
|
||||
|
||||
#############################################################################
|
||||
## Kaban Column Height Fixer Directive
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
div.kanban-table
|
||||
div.kanban-table-header
|
||||
div.kanban-table-inner(tg-kanban-row-size-fixer)
|
||||
div.kanban-table-inner(tg-kanban-row-width-fixer)
|
||||
h2.task-colum_name(ng-repeat="s in usStatusList track by s.id",
|
||||
ng-style="{'border-top-color':s.color}")
|
||||
span(tg-bo-bind="s.name")
|
||||
|
@ -8,7 +8,7 @@ div.kanban-table
|
|||
a.icon.icon-bulk(tg-check-permission="add_us", href="", title="Add New bulk", ng-click="ctrl.addNewUs('bulk', s.id)")
|
||||
|
||||
div.kanban-table-body
|
||||
div.kanban-table-inner(tg-kanban-row-size-fixer)
|
||||
div.kanban-table-inner(tg-kanban-row-width-fixer)
|
||||
div.kanban-uses-box.task-column(ng-repeat="status in usStatusList track by status.id",
|
||||
tg-kanban-sortable,
|
||||
tg-kanban-wip-limit,
|
||||
|
|
Loading…
Reference in New Issue