diff options
Diffstat (limited to 'app/views/welcome/index.rhtml')
-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"> |