stable

Clone or download

Read-only

request #9927: Site admin should be able to easily configure templates

Until now it is quite complex to reach a template. You have to know its name or you must browse the project lists. Add a new sidebar item, in "Configuration" section, in order to list all templates on the plateform. This new page allows: - to see the project details - to edit its services - to edit its trackers If the template does not use the tracker service, then the corresponding button is disabled. If the tracker plugin is not enabled, then there isn't any button at all. The "Configure predefined services" sidebar item is removed, it was targetting only the default template (100). The "Configure predefined trackers" sidebar item must be kept as, in tracker creation form, we still use the default site template to populate tracker templates. Change-Id: I19dd56a55484a600f0f24f92a31247e841c454de

Modified Files

Name
M plugins/tracker/include/trackerPlugin.class.php +19 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +20 −2 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +18 −0 Go to diff View file
M site-content/en_US/admin/admin.tab +0 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +17 −5 Go to diff View file
M site-content/fr_FR/admin/admin.tab +0 −1 Go to diff View file
M site-content/tuleap-core.pot +15 −3 Go to diff View file
M src/common/admin/AdminSidebarPresenter.php +1 −1 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
A src/common/project/Admin/TemplateListPresenter.php +42 −0 Go to diff View file
A src/common/project/Admin/TemplatePresenter.php +54 −0 Go to diff View file
A src/templates/admin/projects/templatelist.mustache +49 −0 Go to diff View file
M src/templates/admin/sidebar_configuration.mustache +1 −1 Go to diff View file
A src/www/admin/templates.php +43 −0 Go to diff View file
A src/www/themes/BurningParrot/css/includes/_siteadmin-templates.scss +22 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_siteadmin.scss +1 −0 Go to diff View file