Add section name to backlog.
parent
6cf333ae10
commit
0d0eb256f6
|
@ -28,6 +28,9 @@ bindOnce = @.taiga.bindOnce
|
||||||
class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin)
|
class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin)
|
||||||
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q) ->
|
constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q) ->
|
||||||
_.bindAll(@)
|
_.bindAll(@)
|
||||||
|
|
||||||
|
@scope.sectionName = "Backlog"
|
||||||
|
|
||||||
promise = @.loadInitialData()
|
promise = @.loadInitialData()
|
||||||
promise.then null, =>
|
promise.then null, =>
|
||||||
console.log "FAIL"
|
console.log "FAIL"
|
||||||
|
@ -266,7 +269,7 @@ BacklogDirective = ($repo) ->
|
||||||
$ctrl.filterVisibleUserstories()
|
$ctrl.filterVisibleUserstories()
|
||||||
$repo.saveAll(selectedUss)
|
$repo.saveAll(selectedUss)
|
||||||
|
|
||||||
|
# FIXME: very large line sucks ;)
|
||||||
# Enable move to current sprint only when there are selected us's
|
# Enable move to current sprint only when there are selected us's
|
||||||
$el.on "change", ".backlog-table-body .user-stories input:checkbox", (event) ->
|
$el.on "change", ".backlog-table-body .user-stories input:checkbox", (event) ->
|
||||||
moveToCurrentSprintDom = $el.find("#move-to-current-sprint")
|
moveToCurrentSprintDom = $el.find("#move-to-current-sprint")
|
||||||
|
|
Loading…
Reference in New Issue