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  e8f90eef8d8e076a316a30c40ee1bfd3b2f20620 (commit)
      from  dea9b09edfc232445e4a0176c79d133c4aa560d3 (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=e8f90eef8d8e076a316a30c40ee1bfd3b2f20620

commit e8f90eef8d8e076a316a30c40ee1bfd3b2f20620
Author: Franck Villaume <[email protected]>
Date:   Sun Jan 22 18:01:10 2017 +0100

    fix showMessage odd/event rows using HTML helpers

diff --git a/src/common/tracker/include/ArtifactHtml.class.php 
b/src/common/tracker/include/ArtifactHtml.class.php
index fa4b346..262ab18 100644
--- a/src/common/tracker/include/ArtifactHtml.class.php
+++ b/src/common/tracker/include/ArtifactHtml.class.php
@@ -5,7 +5,7 @@
  * Copyright 1999-2001 (c) VA Linux Systems
  * Copyright (C) 2011-2012 Alain Peyrat - Alcatel-Lucent
  * Copyright 2011, Franck Villaume - Capgemini
- * Copyright 2015-2016, Franck Villaume - TrivialDev
+ * Copyright 2015-2017, Franck Villaume - TrivialDev
  * Copyright 2016, Stéphane-Eymeric Bredthauer - TrivialDev
  * http://fusionforge.org
  *
@@ -94,14 +94,8 @@ function hide_edit_button(id) {
 }
 /* ]]> */</script>';
                        $return .= '<img style="display: none;" id="img_order" 
src="" alt="" />';
-                       $return .= '<table class="listing full" 
id="messages_list">
-<thead>
-<tr>
-<th>
-<a name="sort" href="#sort" class="sortheader" onclick="thead = 
true;ts_resortTable(this, 0);submitOrder();return false;">'._('Message').'<span 
id="order_span" sortdir="'.$order.'" class="sortarrow">&nbsp;&nbsp;<img 
src="/images/sort_'.$img_order.'.gif" alt="'.$char_order.'" /></span></a></th>
-</tr>
-</thead>
-<tbody>';
+                       $thArray = array('<a name="sort" href="#sort" 
class="sortheader" onclick="thead = true;ts_resortTable(this, 
0);submitOrder();return false;">'._('Message').'<span id="order_span" 
sortdir="'.$order.'" class="sortarrow">&nbsp;&nbsp;<img 
src="/images/sort_'.$img_order.'.gif" alt="'.$char_order.'" /></span></a>');
+                       $return .= $HTML->listTableTop($thArray, array(), 
'listing full sortable', 'messages_list');
 
                        for ($i=0; $i < $rows; $i++) {
                                $return .= '<tr 
onmouseover="show_edit_button(\'edit_bt_'.$i.'\')" 
onmouseout="hide_edit_button(\'edit_bt_'.$i.'\')" ><td>';
@@ -131,7 +125,7 @@ function hide_edit_button(id) {
                                $return .= '</td></tr>';
                        }
 
-                       $return .= '</tbody></table>';
+                       $return .= $HTML->listTableBottom();
 
                } else {
                        $return .= $HTML->information(_('No Comments Have Been 
Posted'));

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

Summary of changes:
 src/common/tracker/include/ArtifactHtml.class.php | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to