summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-14 10:11:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-14 10:11:15 +0000
commit47b162488c80e8e5bc3cda8bb7842148d1dd5aae (patch)
tree974205af4f615adbad298aaab30d779ca5d716ba /app/views
parent703d8a478201eafbf2a2a9ca6dbf99bc79e37335 (diff)
downloadredmine-47b162488c80e8e5bc3cda8bb7842148d1dd5aae.tar.gz
redmine-47b162488c80e8e5bc3cda8bb7842148d1dd5aae.zip
Removed "Latest projects" from home page (#21148).
git-svn-id: http://svn.redmine.org/redmine/trunk@14877 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/welcome/index.html.erb27
1 files changed, 5 insertions, 22 deletions
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
index dab9bff38..ba0924a7c 100644
--- a/app/views/welcome/index.html.erb
+++ b/app/views/welcome/index.html.erb
@@ -4,6 +4,10 @@
<div class="wiki">
<%= textilizable Setting.welcome_text %>
</div>
+ <%= call_hook(:view_welcome_index_left) %>
+</div>
+
+<div class="splitcontentright">
<% if @news.any? %>
<div class="news box">
<h3><%=l(:label_news_latest)%></h3>
@@ -11,28 +15,7 @@
<%= link_to l(:label_news_view_all), :controller => 'news' %>
</div>
<% end %>
- <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
-</div>
-
-<div class="splitcontentright">
- <% if @projects.any? %>
- <div class="projects box">
- <h3><%=l(:label_project_latest)%></h3>
- <ul>
- <% for project in @projects %>
- <% @project = project %>
- <li>
- <%= link_to_project project %> (<%= format_time(project.created_on) %>)
- <div class="wiki">
- <%= textilizable project.short_description, :project => project %>
- </div>
- </li>
- <% end %>
- <% @project = nil %>
- </ul>
- </div>
- <% end %>
- <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
+ <%= call_hook(:view_welcome_index_right) %>
</div>
<% content_for :header_tags do %>