[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1345-ge24d8a9

Franck Villaume nerville at libremir.placard.fr.eu.org
Mon Jan 16 20:45:00 CET 2017


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  e24d8a99b898698706f91bb9db34d3c2bbc3183b (commit)
      from  b72816f2fc07263d4c13d4cdbfa8a0d39726440e (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=e24d8a99b898698706f91bb9db34d3c2bbc3183b

commit e24d8a99b898698706f91bb9db34d3c2bbc3183b
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Jan 16 20:44:44 2017 +0100

    add support for Effort customfield

diff --git a/src/common/widget/Widget_TrackerContent.class.php b/src/common/widget/Widget_TrackerContent.class.php
index 0369408..55aea38 100644
--- a/src/common/widget/Widget_TrackerContent.class.php
+++ b/src/common/widget/Widget_TrackerContent.class.php
@@ -2,7 +2,7 @@
 /**
  * Generic Tracker Content Widget Class
  *
- * Copyright 2016, Franck Villaume - TrivialDev
+ * Copyright 2016,2017, Franck Villaume - TrivialDev
  * http://fusionforge.org
  *
  * This file is a part of Fusionforge.
@@ -587,6 +587,17 @@ EOS;
 										$cellContent .= $ath->renderReleaseField($keys[0], $value, $extrafieldObject->getShow100(), $extrafieldObject->getShow100label(), false, false, false, $attrs);
 									}
 									break;
+								case ARTIFACT_EXTRAFIELDTYPE_EFFORT:
+									if ($readonly) {
+										if ($value) {
+											$cellContent .= $value;
+										} else {
+											$cellContent .= _('Undefined');
+										}
+									} else {
+										$cellContent .= $ath->renderEffort($keys[0], $value, $extrafieldObject->getAttribute1(), $extrafieldObject->getAttribute2(), $attrs);
+									}
+									break;
 							}
 						} else {
 							$cellContent = '&nbsp';

-----------------------------------------------------------------------

Summary of changes:
 src/common/widget/Widget_TrackerContent.class.php | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list