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"})
|
||||
$routeProvider.when("/project/:pslug/admin/project-profile/default-values",
|
||||
{templateUrl: "/partials/admin-project-default-values.html"})
|
||||
$routeProvider.when("/project/:pslug/admin/project-profile/features",
|
||||
{templateUrl: "/partials/admin-project-features.html"})
|
||||
$routeProvider.when("/project/:pslug/admin/project-profile/modules",
|
||||
{templateUrl: "/partials/admin-project-modules.html"})
|
||||
$routeProvider.when("/project/:pslug/admin/project-values/us-status",
|
||||
{templateUrl: "/partials/admin-project-values-us-status.html"})
|
||||
$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) ->
|
||||
form = $el.find("form").checksley()
|
||||
submit = =>
|
||||
|
@ -178,4 +178,4 @@ ProjectFeaturesDirective = ($rootscope, $log, $repo, $confirm, $loading) ->
|
|||
|
||||
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-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-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-points": "/project/:project/admin/project-values/us-points"
|
||||
"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
|
||||
## according to his enabled features and user permisions
|
||||
## according to his enabled modules and user permisions
|
||||
#############################################################################
|
||||
|
||||
ProjectUrl = ($navurls) ->
|
||||
|
|
|
@ -4,12 +4,12 @@ block head
|
|||
title Taiga Your agile, free, and open source project management tool
|
||||
|
||||
block content
|
||||
div.wrapper(tg-project-features, ng-controller="ProjectProfileController as ctrl",
|
||||
ng-init="section='admin'; sectionName='Features'")
|
||||
div.wrapper(tg-project-modules, ng-controller="ProjectProfileController as ctrl",
|
||||
ng-init="section='admin'; sectionName='Modules'")
|
||||
sidebar.menu-secondary.sidebar(tg-admin-navigation="project-profile")
|
||||
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
|
||||
|
||||
section.main.admin-functionalities
|
|
@ -12,7 +12,7 @@ section.admin-submenu
|
|||
a(href="", tg-nav="project-admin-project-profile-default-values:project=project.slug")
|
||||
span.title Default Values
|
||||
span.icon.icon-arrow-right
|
||||
li#adminmenu-features
|
||||
a(href="", tg-nav="project-admin-project-profile-features:project=project.slug")
|
||||
span.title Features
|
||||
li#adminmenu-modules
|
||||
a(href="", tg-nav="project-admin-project-profile-modules:project=project.slug")
|
||||
span.title Modules
|
||||
span.icon.icon-arrow-right
|
||||
|
|
Loading…
Reference in New Issue