Fix bug #1069: Change 'Feauteres' for 'Modules'
parent
e0db76ac20
commit
d950147659
|
@ -68,8 +68,8 @@ configure = ($routeProvider, $locationProvider, $httpProvider, $provide, tgLoade
|
||||||
{templateUrl: "/partials/admin-project-profile.html"})
|
{templateUrl: "/partials/admin-project-profile.html"})
|
||||||
$routeProvider.when("/project/:pslug/admin/project-profile/default-values",
|
$routeProvider.when("/project/:pslug/admin/project-profile/default-values",
|
||||||
{templateUrl: "/partials/admin-project-default-values.html"})
|
{templateUrl: "/partials/admin-project-default-values.html"})
|
||||||
$routeProvider.when("/project/:pslug/admin/project-profile/features",
|
$routeProvider.when("/project/:pslug/admin/project-profile/modules",
|
||||||
{templateUrl: "/partials/admin-project-features.html"})
|
{templateUrl: "/partials/admin-project-modules.html"})
|
||||||
$routeProvider.when("/project/:pslug/admin/project-values/us-status",
|
$routeProvider.when("/project/:pslug/admin/project-values/us-status",
|
||||||
{templateUrl: "/partials/admin-project-values-us-status.html"})
|
{templateUrl: "/partials/admin-project-values-us-status.html"})
|
||||||
$routeProvider.when("/project/:pslug/admin/project-values/us-points",
|
$routeProvider.when("/project/:pslug/admin/project-values/us-points",
|
||||||
|
|
|
@ -133,10 +133,10 @@ module.directive("tgProjectProfile", ["$rootScope", "$log", "$tgRepo", "$tgConfi
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
## Project Features Directive
|
## Project Modules Directive
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
ProjectFeaturesDirective = ($rootscope, $log, $repo, $confirm, $loading) ->
|
ProjectModulesDirective = ($rootscope, $log, $repo, $confirm, $loading) ->
|
||||||
link = ($scope, $el, $attrs) ->
|
link = ($scope, $el, $attrs) ->
|
||||||
form = $el.find("form").checksley()
|
form = $el.find("form").checksley()
|
||||||
submit = =>
|
submit = =>
|
||||||
|
@ -178,4 +178,4 @@ ProjectFeaturesDirective = ($rootscope, $log, $repo, $confirm, $loading) ->
|
||||||
|
|
||||||
return {link:link}
|
return {link:link}
|
||||||
|
|
||||||
module.directive("tgProjectFeatures", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", "$tgLoading", ProjectFeaturesDirective])
|
module.directive("tgProjectModules", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", "$tgLoading", ProjectModulesDirective])
|
||||||
|
|
|
@ -81,7 +81,7 @@ urls = {
|
||||||
"project-admin-home": "/project/:project/admin/project-profile/details"
|
"project-admin-home": "/project/:project/admin/project-profile/details"
|
||||||
"project-admin-project-profile-details": "/project/:project/admin/project-profile/details"
|
"project-admin-project-profile-details": "/project/:project/admin/project-profile/details"
|
||||||
"project-admin-project-profile-default-values": "/project/:project/admin/project-profile/default-values"
|
"project-admin-project-profile-default-values": "/project/:project/admin/project-profile/default-values"
|
||||||
"project-admin-project-profile-features": "/project/:project/admin/project-profile/features"
|
"project-admin-project-profile-modules": "/project/:project/admin/project-profile/modules"
|
||||||
"project-admin-project-values-us-status": "/project/:project/admin/project-values/us-status"
|
"project-admin-project-values-us-status": "/project/:project/admin/project-values/us-status"
|
||||||
"project-admin-project-values-us-points": "/project/:project/admin/project-values/us-points"
|
"project-admin-project-values-us-points": "/project/:project/admin/project-values/us-points"
|
||||||
"project-admin-project-values-task-status": "/project/:project/admin/project-values/task-status"
|
"project-admin-project-values-task-status": "/project/:project/admin/project-values/task-status"
|
||||||
|
|
|
@ -101,7 +101,7 @@ module.factory("$appTitle", AppTitle)
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
## Get the appropiate section url for a project
|
## Get the appropiate section url for a project
|
||||||
## according to his enabled features and user permisions
|
## according to his enabled modules and user permisions
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
ProjectUrl = ($navurls) ->
|
ProjectUrl = ($navurls) ->
|
||||||
|
|
|
@ -4,12 +4,12 @@ block head
|
||||||
title Taiga Your agile, free, and open source project management tool
|
title Taiga Your agile, free, and open source project management tool
|
||||||
|
|
||||||
block content
|
block content
|
||||||
div.wrapper(tg-project-features, ng-controller="ProjectProfileController as ctrl",
|
div.wrapper(tg-project-modules, ng-controller="ProjectProfileController as ctrl",
|
||||||
ng-init="section='admin'; sectionName='Features'")
|
ng-init="section='admin'; sectionName='Modules'")
|
||||||
sidebar.menu-secondary.sidebar(tg-admin-navigation="project-profile")
|
sidebar.menu-secondary.sidebar(tg-admin-navigation="project-profile")
|
||||||
include views/modules/admin-menu
|
include views/modules/admin-menu
|
||||||
|
|
||||||
sidebar.menu-tertiary.sidebar(tg-admin-navigation="features")
|
sidebar.menu-tertiary.sidebar(tg-admin-navigation="modules")
|
||||||
include views/modules/admin-submenu-project-profile
|
include views/modules/admin-submenu-project-profile
|
||||||
|
|
||||||
section.main.admin-functionalities
|
section.main.admin-functionalities
|
|
@ -12,7 +12,7 @@ section.admin-submenu
|
||||||
a(href="", tg-nav="project-admin-project-profile-default-values:project=project.slug")
|
a(href="", tg-nav="project-admin-project-profile-default-values:project=project.slug")
|
||||||
span.title Default Values
|
span.title Default Values
|
||||||
span.icon.icon-arrow-right
|
span.icon.icon-arrow-right
|
||||||
li#adminmenu-features
|
li#adminmenu-modules
|
||||||
a(href="", tg-nav="project-admin-project-profile-features:project=project.slug")
|
a(href="", tg-nav="project-admin-project-profile-modules:project=project.slug")
|
||||||
span.title Features
|
span.title Modules
|
||||||
span.icon.icon-arrow-right
|
span.icon.icon-arrow-right
|
||||||
|
|
Loading…
Reference in New Issue