[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 59a41be736e4f75cb238cab27aa3dc7495184fb3

Franck Villaume nerville at fusionforge.org
Fri Mar 7 17:16:45 CET 2014


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_3 has been updated
       via  59a41be736e4f75cb238cab27aa3dc7495184fb3 (commit)
      from  1c9dfde2dc4b99392d93349a7dd69cd9369f5f59 (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 59a41be736e4f75cb238cab27aa3dc7495184fb3
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Mar 7 17:16:15 2014 +0100

    docman: force max-width on FileName, Name and Description columns

diff --git a/src/common/docman/views/listfile.php b/src/common/docman/views/listfile.php
index d1d5256..48e8b16 100644
--- a/src/common/docman/views/listfile.php
+++ b/src/common/docman/views/listfile.php
@@ -252,7 +252,7 @@ if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
 		echo '<td><a href="'.$docurl.'" class="tabtitle-nw" title="'.$docurltitle.'" >';
 		echo html_image($d->getFileTypeImage(), '22', '22', array('alt'=>$d->getFileType()));
 		echo '</a></td>'."\n";
-		echo '<td>';
+		echo '<td style="word-wrap: break-word; max-width: 250px;" >';
 		if (($d->getUpdated() && $time_new > (time() - $d->getUpdated())) || $time_new > (time() - $d->getCreated())) {
 			$html_image_attr = array();
 			$html_image_attr['alt'] = _('new');
@@ -262,8 +262,8 @@ if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
 		}
 		echo ' '.$d->getFileName();
 		echo '</td>';
-		echo '<td>'.$d->getName().'</td>';
-		echo '<td>'.$d->getDescription().'</td>';
+		echo '<td style="word-wrap: break-word; max-width: 250px;" >'.$d->getName().'</td>';
+		echo '<td style="word-wrap: break-word; max-width: 250px;" >'.$d->getDescription().'</td>';
 		echo '<td>'.make_user_link($d->getCreatorUserName(), $d->getCreatorRealName()).'</td>';
 		echo '<td>';
 		if ( $d->getUpdated() ) {
diff --git a/src/common/docman/views/listtrashfile.php b/src/common/docman/views/listtrashfile.php
index 39e51b6..16ae8ea 100644
--- a/src/common/docman/views/listtrashfile.php
+++ b/src/common/docman/views/listtrashfile.php
@@ -163,7 +163,7 @@ if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
 		echo '<td><a href="'.$docurl.'" class="tabtitle-nw" title="'.$docurltitle.'" >';
 		echo html_image($d->getFileTypeImage(), '22', '22', array('alt'=>$d->getFileType()));;
 		echo '</a></td>';
-		echo '<td>';
+		echo '<td style="word-wrap: break-word; max-width: 250px;" >';
 		if (($d->getUpdated() && $time_new > (time() - $d->getUpdated())) || $time_new > (time() - $d->getCreated())) {
 			$html_image_attr = array();
 			$html_image_attr['alt'] = _('new');
@@ -173,8 +173,8 @@ if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
 		}
 		echo ' '.$d->getFileName();
 		echo '</td>';
-		echo '<td>'.$d->getName().'</td>';
-		echo '<td>'.$d->getDescription().'</td>';
+		echo '<td style="word-wrap: break-word; max-width: 250px;" >'.$d->getName().'</td>';
+		echo '<td style="word-wrap: break-word; max-width: 250px;" >'.$d->getDescription().'</td>';
 		echo '<td>'.make_user_link($d->getCreatorUserName(), $d->getCreatorRealName()).'</td>';
 		echo '<td>';
 		if ( $d->getUpdated() ) {

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

Summary of changes:
 src/common/docman/views/listfile.php      |    6 +++---
 src/common/docman/views/listtrashfile.php |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list