diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-05 22:22:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-05 22:22:51 +0000 |
commit | ad68a82be19f44c8e9ab895075a4e932133ad6ee (patch) | |
tree | a8cc406846b7883cda0b4c54a07843395280b694 /app/views/welcome | |
parent | 8509cf80f009436e900294acc821295f21e3b142 (diff) | |
download | redmine-ad68a82be19f44c8e9ab895075a4e932133ad6ee.tar.gz redmine-ad68a82be19f44c8e9ab895075a4e932133ad6ee.zip |
Moved ProjectsController#list_news to NewsController#index.
Removed FeedsController, issues and news feeds are now handled by issues and news controllers.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@888 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/welcome')
-rw-r--r-- | app/views/welcome/index.rhtml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/welcome/index.rhtml b/app/views/welcome/index.rhtml index 4b9b59096..af09eea93 100644 --- a/app/views/welcome/index.rhtml +++ b/app/views/welcome/index.rhtml @@ -2,10 +2,13 @@ <div class="splitcontentleft"> <%= textilizable Setting.welcome_text %> + <% if @news.any? %> <div class="box"> <h3><%=l(:label_news_latest)%></h3> <%= render :partial => 'news/news', :collection => @news %> - </div> + <%= link_to l(:label_issue_view_all), :controller => 'news' %> + </div> + <% end %> </div> <div class="splitcontentright"> |