[Fusionforge-commits] FusionForge branch Branch_5_1 updated. efc53d363cde28b6b1c70257cb3b67dfc483a5c5

Thorsten Glaser mirabilos at fusionforge.org
Thu Nov 15 15:05:04 CET 2012


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, Branch_5_1 has been updated
       via  efc53d363cde28b6b1c70257cb3b67dfc483a5c5 (commit)
      from  53454fdd7c8ef4dd71351ce2578ba492a82c43cd (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 -----------------------------------------------------------------
commit efc53d363cde28b6b1c70257cb3b67dfc483a5c5
Author: Thorsten Glaser <tg at mirbsd.org>
Date:   Thu Nov 15 15:04:40 2012 +0100

    display status mapping

diff --git a/src/www/tracker/admin/form-addextrafieldoption.php b/src/www/tracker/admin/form-addextrafieldoption.php
index 92c4b6f..71e266f 100644
--- a/src/www/tracker/admin/form-addextrafieldoption.php
+++ b/src/www/tracker/admin/form-addextrafieldoption.php
@@ -46,6 +46,9 @@
 			$title_arr[]=_('Current / New positions');
 			$title_arr[]=_('Up/Down positions');
 			$title_arr[]=_('Elements Defined');
+			if ($ac->getType() == ARTIFACT_EXTRAFIELDTYPE_STATUS) {
+				$title_arr[] = _('Mapping');
+			}
 			$title_arr[]='';
 			
 			echo $GLOBALS['HTML']->listTableTop ($title_arr,false, ' ');
@@ -61,7 +64,13 @@
 					'<a href="index.php?group_id='.$group_id.'&atid='.$ath->getID().'&boxid='.$boxid.'&id='.$efearr[$i]['element_id'].
 					'&updownorder_opt=1&new_pos='.(($i == $rows - 1)? $i + 1 : $i + 2).'">'.html_image('ic/btn_down.png','19','18',array('alt'=>"Down")).'</a>'.
 					'</td>'."\n".'<td>'.'   '.$efearr[$i]['element_name'].
-					'</td>'."\n".'<td align="center">'.
+					"</td>\n";
+				if ($ac->getType() == ARTIFACT_EXTRAFIELDTYPE_STATUS) {
+					echo '<td>' .
+					    $ath->getStatusName($efearr[$i]['status_id']) .
+					    "</td>\n";
+				}
+				echo '<td align="center">'.
 					'<a href="'.getStringFromServer('PHP_SELF').'?update_opt=1&id='.
 					$efearr[$i]['element_id'].'&boxid='.			
 					$boxid.'&group_id='.$group_id.'&atid='. $ath->getID() .'">'.

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

Summary of changes:
 src/www/tracker/admin/form-addextrafieldoption.php |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list