Remove inapropiate usage of block comments.
parent
2efd46ba54
commit
23a9c000e7
|
@ -103,10 +103,7 @@ module.controller("ProjectValuesController", ProjectValuesController)
|
|||
#############################################################################
|
||||
|
||||
ProjectValuesDirective = ($log, $repo, $confirm, $location, animationFrame) ->
|
||||
|
||||
#########################
|
||||
## Drag & Drop Link
|
||||
#########################
|
||||
|
||||
linkDragAndDrop = ($scope, $el, $attrs) ->
|
||||
oldParentScope = null
|
||||
|
@ -131,9 +128,7 @@ ProjectValuesDirective = ($log, $repo, $confirm, $location, animationFrame) ->
|
|||
$scope.$on "$destroy", ->
|
||||
$el.off()
|
||||
|
||||
#########################
|
||||
## Value Link
|
||||
#########################
|
||||
|
||||
linkValue = ($scope, $el, $attrs) ->
|
||||
$ctrl = $el.controller()
|
||||
|
@ -279,10 +274,7 @@ module.directive("tgProjectValues", ["$log", "$tgRepo", "$tgConfirm", "$tgLocati
|
|||
#############################################################################
|
||||
|
||||
ColorSelectionDirective = () ->
|
||||
|
||||
#########################
|
||||
## Color selection Link
|
||||
#########################
|
||||
|
||||
link = ($scope, $el, $attrs, $model) ->
|
||||
$ctrl = $el.controller()
|
||||
|
|
|
@ -75,9 +75,7 @@ class AuthService extends taiga.Service
|
|||
return true
|
||||
return false
|
||||
|
||||
###################
|
||||
## Http interface
|
||||
###################
|
||||
|
||||
login: (data, type) ->
|
||||
url = @urls.resolve("auth")
|
||||
|
|
|
@ -420,13 +420,11 @@ module.controller("BacklogController", BacklogController)
|
|||
#############################################################################
|
||||
|
||||
BacklogDirective = ($repo, $rootscope) ->
|
||||
#########################
|
||||
## Doom line Link
|
||||
#########################
|
||||
#TODO: i18n
|
||||
doomLineTemplate = _.template("""
|
||||
<div class="doom-line"><span>Project Scope [Doomline]</span></div>
|
||||
""")
|
||||
# TODO: i18n
|
||||
|
||||
linkDoomLine = ($scope, $el, $attrs, $ctrl) ->
|
||||
reloadDoomLine = ->
|
||||
|
@ -464,9 +462,7 @@ BacklogDirective = ($repo, $rootscope) ->
|
|||
$scope.$on("userstories:loaded", reloadDoomLine)
|
||||
$scope.$watch "stats", reloadDoomLine
|
||||
|
||||
##############################
|
||||
## Move to current sprint link
|
||||
##############################
|
||||
|
||||
linkToolbar = ($scope, $el, $attrs, $ctrl) ->
|
||||
moveToCurrentSprint = (selectedUss) ->
|
||||
|
@ -538,15 +534,12 @@ BacklogDirective = ($repo, $rootscope) ->
|
|||
if !sidebar.hasClass("active")
|
||||
$ctrl.resetFilters()
|
||||
|
||||
#########################
|
||||
## Filters Link
|
||||
#########################
|
||||
|
||||
linkFilters = ($scope, $el, $attrs, $ctrl) ->
|
||||
$scope.filtersSearch = {}
|
||||
$el.on "click", "#show-filters-button", (event) ->
|
||||
event.preventDefault()
|
||||
|
||||
showHideFilter($scope, $el, $ctrl)
|
||||
|
||||
|
||||
|
|
|
@ -34,11 +34,7 @@ module = angular.module("taigaBacklog")
|
|||
#############################################################################
|
||||
|
||||
BacklogSprintDirective = ($repo, $rootscope) ->
|
||||
|
||||
#########################
|
||||
## Common parts
|
||||
#########################
|
||||
|
||||
linkCommon = ($scope, $el, $attrs, $ctrl) ->
|
||||
sprint = $scope.$eval($attrs.tgBacklogSprint)
|
||||
if $scope.$first
|
||||
|
|
|
@ -333,11 +333,7 @@ paginatorTemplate = """
|
|||
"""
|
||||
|
||||
IssuesDirective = ($log, $location) ->
|
||||
|
||||
#########################
|
||||
## Issues Pagination
|
||||
#########################
|
||||
|
||||
template = _.template(paginatorTemplate)
|
||||
|
||||
linkPagination = ($scope, $el, $attrs, $ctrl) ->
|
||||
|
@ -416,10 +412,7 @@ IssuesDirective = ($log, $location) ->
|
|||
$ctrl.selectFilter("page", pagenum)
|
||||
$ctrl.loadIssues()
|
||||
|
||||
#########################
|
||||
## Issues Filters
|
||||
#########################
|
||||
|
||||
linkOrdering = ($scope, $el, $attrs, $ctrl) ->
|
||||
# Draw the arrow the first time
|
||||
currentOrder = $ctrl.getUrlFilter("orderBy") or "created_date"
|
||||
|
@ -445,10 +438,7 @@ IssuesDirective = ($log, $location) ->
|
|||
icon = if startswith(finalOrder, "-") then "icon-caret-up" else "icon-caret-down"
|
||||
target.html("#{target.html()}<span class='icon #{icon}'></span>")
|
||||
|
||||
#########################
|
||||
## Issues Link
|
||||
#########################
|
||||
|
||||
link = ($scope, $el, $attrs) ->
|
||||
$ctrl = $el.controller()
|
||||
linkOrdering($scope, $el, $attrs, $ctrl)
|
||||
|
|
|
@ -36,11 +36,6 @@ module = angular.module("taigaKanban")
|
|||
#############################################################################
|
||||
|
||||
KanbanSortableDirective = ($repo, $rs, $rootscope) ->
|
||||
|
||||
#########################
|
||||
## Drag & Drop Link
|
||||
#########################
|
||||
|
||||
link = ($scope, $el, $attrs) ->
|
||||
timeout 500, ->
|
||||
mainPadding = 32 # px
|
||||
|
|
|
@ -35,11 +35,6 @@ module = angular.module("taigaBacklog")
|
|||
#############################################################################
|
||||
|
||||
TaskboardSortableDirective = ($repo, $rs, $rootscope) ->
|
||||
|
||||
#########################
|
||||
## Drag & Drop Link
|
||||
#########################
|
||||
|
||||
link = ($scope, $el, $attrs) ->
|
||||
oldParentScope = null
|
||||
newParentScope = null
|
||||
|
|
Loading…
Reference in New Issue