This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 7577dd814c4d2a18dd0cc7972306171c1f5a0a7e (commit)
from cf6f672169b56d38cb8cf13a72ab412f40c73e6f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=7577dd814c4d2a18dd0cc7972306171c1f5a0a7e
commit 7577dd814c4d2a18dd0cc7972306171c1f5a0a7e
Author: Marc-Etienne Vargenau <[email protected]>
Date: Mon Sep 12 11:27:04 2016 +0200
Display <h2> only when needed
diff --git a/src/www/register/index.php b/src/www/register/index.php
index 8d881d0..7e5733d 100644
--- a/src/www/register/index.php
+++ b/src/www/register/index.php
@@ -282,11 +282,10 @@ if (forge_get_config('use_scm') && count($scm_plugins) >
0) {
echo '</tr></tbody></table>'."\n";
}
-echo '<h2>'.$index++.'. '._('Project template'). '</h2>';
-
if (count ($template_projects) > 1) {
$tpv_arr = array () ;
$tpn_arr = array () ;
+ echo '<h2>'.$index++.'. '._('Project template'). '</h2>';
echo '<p>';
if (forge_get_config('allow_project_without_template')) {
printf(_('You can either start from an empty project, or pick a
project that will act as a template for yours. Your project will initially
have the same configuration as the template (same roles and permissions, same
trackers, same set of enabled plugins, and so on).')) ;
@@ -303,8 +302,9 @@ if (count ($template_projects) > 1) {
echo html_build_select_box_from_arrays ($tpv_arr, $tpn_arr,
'built_from_template', $built_from_template,
false, '', false, '') ;
} elseif (count ($template_projects) == 1) {
- echo '<p>';
if (forge_get_config('allow_project_without_template')) {
+ echo '<h2>'.$index++.'. '._('Project template'). '</h2>';
+ echo '<p>';
printf(_('You can either start from an empty project, or use
the %s project as a template for yours. Your project will initially have the
same configuration as the template (same roles and permissions, same trackers,
same set of enabled plugins, and so on).'),
$template_projects[0]->getPublicName()) ;
echo '</p>' ;
-----------------------------------------------------------------------
Summary of changes:
src/www/register/index.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits