[Fusionforge-commits] FusionForge branch master updated. 6.0.4-1132-ga067610

Franck Villaume nerville at libremir.placard.fr.eu.org
Tue Nov 8 09:54:48 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  a067610301d2f45e2f26c9168ecce64e5992e5f4 (commit)
      from  fb0117fac57e0db0eb6edc6bbab25536f60044b7 (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=a067610301d2f45e2f26c9168ecce64e5992e5f4

commit a067610301d2f45e2f26c9168ecce64e5992e5f4
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Tue Nov 8 09:54:42 2016 +0100

    add edit file action in Widget Project Latest Documents

diff --git a/src/common/widget/Widget_ProjectLatestDocuments.class.php b/src/common/widget/Widget_ProjectLatestDocuments.class.php
index 44b768e..c72cbb4 100644
--- a/src/common/widget/Widget_ProjectLatestDocuments.class.php
+++ b/src/common/widget/Widget_ProjectLatestDocuments.class.php
@@ -135,6 +135,7 @@ class Widget_ProjectLatestDocuments extends Widget {
 							$action .= util_make_link('/docman/?group_id='.$group_id.'&view=listfile&dirid='.$docgroup.'&action=monitorfile&option='.$option.'&fileid='.$doc->getID(), $image, array('title' => $titleMonitor));
 							if (forge_check_perm('docman', $group_id, 'approve') && !$doc->getLocked()) {
 								$action .= util_make_link('/docman/?group_id='.$group_id.'&view=listfile&dirid='.$docgroup.'&action=trashfile&fileid='.$doc->getID(), $HTML->getDeletePic('', _('Move this document to trash')), array('title' => _('Move this document to trash')));
+								$action .= util_make_link('/docman/?group_id='.$group_id.'&view=listfile&dirid='.$docgroup.'&filedetailid='.$doc->getID(), $HTML->getEditFilePic(_('Edit this document')), array('title' => _('Edit this document')));
 							}
 						}
 						$cells[][] = $action;

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

Summary of changes:
 src/common/widget/Widget_ProjectLatestDocuments.class.php | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list