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  27c71d491e06bb7bed5c9adb6ccf25c8ab44e4e9 (commit)
      from  6f41eddc2abb09f8140e6e491f0522a3b4c7a17a (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=27c71d491e06bb7bed5c9adb6ccf25c8ab44e4e9

commit 27c71d491e06bb7bed5c9adb6ccf25c8ab44e4e9
Author: Franck Villaume <[email protected]>
Date:   Fri Sep 15 11:36:25 2017 +0000

    widget Forge Homepage: Latest News, add missing link to complete list of 
news

diff --git a/src/common/widget/Widget_HomeLatestNews.class.php 
b/src/common/widget/Widget_HomeLatestNews.class.php
index 74dc8bc..2fb0269 100644
--- a/src/common/widget/Widget_HomeLatestNews.class.php
+++ b/src/common/widget/Widget_HomeLatestNews.class.php
@@ -27,7 +27,9 @@ class Widget_HomeLatestNews extends Widget {
                return _('Latest News');
        }
        function getContent() {
-               return news_show_latest(forge_get_config('news_group'), 5, 
true, false, false, 5);
+               $content = news_show_latest(forge_get_config('news_group'), 5, 
true, false, false, 5);
+               $content .= util_make_link('/news/', _('Browse all news'));
+               return $content;
        }
 
        function getDescription() {

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

Summary of changes:
 src/common/widget/Widget_HomeLatestNews.class.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

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

Reply via email to