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 b00ba423e0d72b5e10d78484319e064e5bc14085 (commit)
from 201a31d094c690d332947cae646c00438185b4c9 (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=b00ba423e0d72b5e10d78484319e064e5bc14085
commit b00ba423e0d72b5e10d78484319e064e5bc14085
Author: Franck Villaume <[email protected]>
Date: Wed Jan 18 19:47:11 2017 +0100
fix read-only rendering of Effort Field
diff --git a/src/common/widget/Widget_TrackerContent.class.php
b/src/common/widget/Widget_TrackerContent.class.php
index 55aea38..137ca07 100644
--- a/src/common/widget/Widget_TrackerContent.class.php
+++ b/src/common/widget/Widget_TrackerContent.class.php
@@ -590,7 +590,9 @@ EOS;
case
ARTIFACT_EXTRAFIELDTYPE_EFFORT:
if
($readonly) {
if ($value) {
-
$cellContent .= $value;
+
$effortUnitSet = New EffortUnitSet($ath, $ath->getEffortUnitSet());
+
$effortUnitFactory = New EffortUnitFactory($effortUnitSet);
+
$cellContent .= $effortUnitFactory->encodedToString($value);;
} else {
$cellContent .= _('Undefined');
}
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget_TrackerContent.class.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits