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 4ab3c168f43bb2e4787b27f8e2dab3c70235b56d (commit)
from fd5f1ed29a2c53118760c4023a96504802eb163a (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=4ab3c168f43bb2e4787b27f8e2dab3c70235b56d
commit 4ab3c168f43bb2e4787b27f8e2dab3c70235b56d
Author: Franck Villaume <[email protected]>
Date: Thu Dec 8 16:58:08 2016 +0100
use document getPermalink function
diff --git a/src/www/activity/index.php b/src/www/activity/index.php
index 2ed6366..49df9f1 100644
--- a/src/www/activity/index.php
+++ b/src/www/activity/index.php
@@ -366,12 +366,7 @@ echo $HTML->closeForm();
break;
}
$icon =
html_image($document->getFileTypeImage(), 22, 22, array('alt' =>
$document->getFileType()));
- if ($document->getStateID() == 2) {
- $view = 'listtrashfile';
- } else {
- $view = 'listfile';
- }
- $url =
util_make_link('docman/?group_id='.$arr['group_id'].'&view='.$view.'&dirid='.$arr['ref_id'],_('Document').'
'.$arr['description']);
+ $url =
util_make_link($document->getPermalink(),_('Document').' '.$arr['description']);
break;
}
case 'docgroupnew': {
-----------------------------------------------------------------------
Summary of changes:
src/www/activity/index.php | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits