[Fusionforge-commits] FusionForge branch master updated. 6.0.4-1232-g3db1d50

Franck Villaume nerville at libremir.placard.fr.eu.org
Fri Dec 9 15:42:09 CET 2016


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  3db1d50b4d8616a87db3470843605eb6be0230e3 (commit)
      from  4ab3c168f43bb2e4787b27f8e2dab3c70235b56d (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=3db1d50b4d8616a87db3470843605eb6be0230e3

commit 3db1d50b4d8616a87db3470843605eb6be0230e3
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Dec 9 15:41:45 2016 +0100

    enable sort on required, shown on submit & disabled in extrafield table

diff --git a/src/common/tracker/views/form-addextrafield.php b/src/common/tracker/views/form-addextrafield.php
index fe776c3..ffa02c2 100644
--- a/src/common/tracker/views/form-addextrafield.php
+++ b/src/common/tracker/views/form-addextrafield.php
@@ -51,11 +51,11 @@ if ($rows > 0) {
 	$title_arr[] = _('Type');
 	$classth[]   = '';
 	$title_arr[] = _('Enabled');
-	$classth[]   = 'unsortable';
+	$classth[]   = '';
 	$title_arr[] = _('Required');
-	$classth[]   = 'unsortable';
+	$classth[]   = '';
 	$title_arr[] = _('Shown on Submit');
-	$classth[]   = 'unsortable';
+	$classth[]   = '';
 	$title_arr[] = _('Auto Assign');
 	$classth[]   = 'unsortable';
 	$title_arr[] = _('Depend on');
@@ -79,19 +79,19 @@ if ($rows > 0) {
 				"</td>\n";
 		echo '<td>'.$eftypes[$efarr[$i]['field_type']]."</td>\n";
 		if ($efarr[$i]['is_disabled'] == 0) {
-			echo '<td class="align-center">'.html_image("ic/check.png",'15','13').'</td>'."\n";
+			echo '<td class="align-center" content="1" >'.html_image("ic/check.png",'15','13').'</td>'."\n";
 		} else {
-			echo '<td></td>'."\n";
+			echo '<td content="0" ></td>'."\n";
 		}
 		if ($efarr[$i]['is_required'] == 1) {
-			echo '<td class="align-center">'.html_image("ic/check.png",'15','13').'</td>'."\n";
+			echo '<td class="align-center" content="1" >'.html_image("ic/check.png",'15','13').'</td>'."\n";
 		} else {
-			echo '<td></td>'."\n";
+			echo '<td content="0" ></td>'."\n";
 		}
 		if ($efarr[$i]['is_hidden_on_submit'] == 0) {
-			echo '<td class="align-center">'.html_image("ic/check.png",'15','13').'</td>'."\n";
+			echo '<td class="align-center" content="1" >'.html_image("ic/check.png",'15','13').'</td>'."\n";
 		} else {
-			echo '<td></td>'."\n";
+			echo '<td content="0" ></td>'."\n";
 		}
 		if ($autoAssignFieldId==$i) {
 			echo '<td class="align-center">'.html_image("ic/check.png",'15','13').'</td>'."\n";

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

Summary of changes:
 src/common/tracker/views/form-addextrafield.php | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list