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 e79f32e9b09e8f2de5e998444cf9a2d9f666d13c (commit)
from 21f38cacee4f87f783b7e98926db7e332771e03a (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=e79f32e9b09e8f2de5e998444cf9a2d9f666d13c
commit e79f32e9b09e8f2de5e998444cf9a2d9f666d13c
Author: Stéphane-Eymeric Bredthauer <[email protected]>
Date: Fri Nov 25 12:47:14 2016 +0100
Tracker: query comestic fix
diff --git a/src/common/tracker/include/ArtifactTypeHtml.class.php
b/src/common/tracker/include/ArtifactTypeHtml.class.php
index 7641bb1..bd2aacc 100644
--- a/src/common/tracker/include/ArtifactTypeHtml.class.php
+++ b/src/common/tracker/include/ArtifactTypeHtml.class.php
@@ -520,7 +520,11 @@ class ArtifactTypeHtml extends ArtifactType {
// Do not show the required star in query mode
(creating/updating a query).
$is_required = ($mode == 'QUERY' || $mode == 'DISPLAY')
? 0 : $efarr[$i]['is_required'];
- $name = $efarr[$i]['field_name'].($is_required ?
utils_requiredField() : '')._(': ');
+ if ($mode == 'QUERY' && ($efarr[$i]['field_type'] ==
ARTIFACT_EXTRAFIELDTYPE_DATETIME || $efarr[$i]['field_type'] ==
ARTIFACT_EXTRAFIELDTYPE_DATE)) {
+ $name = sprintf(_('%s range'),
$efarr[$i]['field_name']).($is_required ? utils_requiredField() : '')._(': ');
+ } else {
+ $name = $efarr[$i]['field_name'].($is_required
? utils_requiredField() : '')._(': ');
+ }
$name = '<strong>'.$name.'</strong>';
if ($efarr[$i]['field_type'] ==
ARTIFACT_EXTRAFIELDTYPE_SELECT ||
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/include/ArtifactTypeHtml.class.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits