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, 6.1 has been updated
via 4149c43b5e8e6be255cae09dd8e303ae6ae72a40 (commit)
from 54feec7398eb790e3cf9b44e14f7480a50b9a206 (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=4149c43b5e8e6be255cae09dd8e303ae6ae72a40
commit 4149c43b5e8e6be255cae09dd8e303ae6ae72a40
Author: Franck Villaume <[email protected]>
Date: Wed May 30 16:05:32 2018 +0000
fix tracker user dashboard if project does not use tracker feature. Do not
add a link to disabled feature.
diff --git a/src/www/my/dashboard.php b/src/www/my/dashboard.php
index 518049f..2b53a4e 100644
--- a/src/www/my/dashboard.php
+++ b/src/www/my/dashboard.php
@@ -95,7 +95,10 @@ if (!session_loggedin()) {
// get the Project object
//
if (!$p->usesTracker()) {
- $cell_text = html_e('strong', array(), ' • '.
util_make_link('/tracker/?group_id='.$p->getID(), $p->getPublicName()));
+ $cell_text = html_e('strong', array(), ' • '.
$p->getPublicName());
+ if ($admin_flags) {
+ $cell_text .=
'['.util_make_link('/project/admin/tools.php?gropu_id='.$p->getID(),
_('Activate tracker')).']';
+ }
$cell_attrs = array('colspan' =>
(array_sum($display_col)+1), 'align' => 'left', 'style' => 'background-color:
#CADACA; padding-top: 4px; border-top: 1px dotted darkgreen; border-bottom: 1px
solid darkgreen; font-size: larger; color: darkgreen;');
$cell_data =
array(array_merge((array)$cell_text, $cell_attrs));
echo $HTML->multiTableRow(array(), $cell_data);
-----------------------------------------------------------------------
Summary of changes:
src/www/my/dashboard.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits