Set more apropiate name to kanban row width fixer directive.

stable
Andrey Antukh 2014-09-12 20:27:20 +02:00
parent fed86f8d4f
commit 6408ab2f61
2 changed files with 4 additions and 4 deletions

View File

@ -234,7 +234,7 @@ module.directive("tgKanban", ["$tgRepo", "$rootScope", KanbanDirective])
## Kanban Row Size Fixer Directive ## Kanban Row Size Fixer Directive
############################################################################# #############################################################################
KanbanRowSizeFixer = -> KanbanRowWidthFixerDirective = ->
link = ($scope, $el, $attrs) -> link = ($scope, $el, $attrs) ->
bindOnce $scope, "usStatusList", (statuses) -> bindOnce $scope, "usStatusList", (statuses) ->
itemSize = 310 itemSize = 310
@ -243,7 +243,7 @@ KanbanRowSizeFixer = ->
return {link: link} return {link: link}
module.directive("tgKanbanRowSizeFixer", KanbanRowSizeFixer) module.directive("tgKanbanRowWidthFixer", KanbanRowWidthFixerDirective)
############################################################################# #############################################################################
## Kaban Column Height Fixer Directive ## Kaban Column Height Fixer Directive

View File

@ -1,6 +1,6 @@
div.kanban-table div.kanban-table
div.kanban-table-header 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", h2.task-colum_name(ng-repeat="s in usStatusList track by s.id",
ng-style="{'border-top-color':s.color}") ng-style="{'border-top-color':s.color}")
span(tg-bo-bind="s.name") 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)") 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-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", div.kanban-uses-box.task-column(ng-repeat="status in usStatusList track by status.id",
tg-kanban-sortable, tg-kanban-sortable,
tg-kanban-wip-limit, tg-kanban-wip-limit,