Code style improvements.
parent
e94e2a41b3
commit
b5499f2eef
|
@ -101,6 +101,10 @@ UsStatusDirective = ($repo, popoverService) ->
|
||||||
|
|
||||||
module.directive("tgUsStatus", ["$tgRepo", UsStatusDirective])
|
module.directive("tgUsStatus", ["$tgRepo", UsStatusDirective])
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
## Related Task Status Directive
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
RelatedTaskStatusDirective = ($repo, popoverService) ->
|
RelatedTaskStatusDirective = ($repo, popoverService) ->
|
||||||
###
|
###
|
||||||
Print the status of a related task and a popover to change it.
|
Print the status of a related task and a popover to change it.
|
||||||
|
@ -178,6 +182,10 @@ RelatedTaskStatusDirective = ($repo, popoverService) ->
|
||||||
|
|
||||||
module.directive("tgRelatedTaskStatus", ["$tgRepo", RelatedTaskStatusDirective])
|
module.directive("tgRelatedTaskStatus", ["$tgRepo", RelatedTaskStatusDirective])
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
## jQuery plugin for Popover
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
$.fn.popover = () ->
|
$.fn.popover = () ->
|
||||||
$el = @
|
$el = @
|
||||||
|
|
||||||
|
|
|
@ -149,8 +149,6 @@ class UserStoryDetailController extends mixOf(taiga.Controller, taiga.PageMixin)
|
||||||
|
|
||||||
module.controller("UserStoryDetailController", UserStoryDetailController)
|
module.controller("UserStoryDetailController", UserStoryDetailController)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
## User story Main Directive
|
## User story Main Directive
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
@ -188,8 +186,8 @@ UsDirective = ($tgrepo, $log, $location, $confirm, $navUrls, $loading) ->
|
||||||
|
|
||||||
return {link:link}
|
return {link:link}
|
||||||
|
|
||||||
module.directive("tgUsDetail", ["$tgRepo", "$log", "$tgLocation", "$tgConfirm", "$tgNavUrls", "$tgLoading", UsDirective])
|
module.directive("tgUsDetail", ["$tgRepo", "$log", "$tgLocation", "$tgConfirm",
|
||||||
|
"$tgNavUrls", "$tgLoading", UsDirective])
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
## User story status directive
|
## User story status directive
|
||||||
|
|
Loading…
Reference in New Issue