annotate .svn/pristine/a9/a9e0825e9b9b74621aaa02a17667da4848ea4fc0.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
rev   line source
Chris@1295 1 <h2><%= l(:label_home) %></h2>
Chris@1295 2
Chris@1295 3 <div class="splitcontentleft">
Chris@1295 4 <%= textilizable Setting.welcome_text %>
Chris@1295 5 <% if @news.any? %>
Chris@1295 6 <div class="news box">
Chris@1295 7 <h3><%=l(:label_news_latest)%></h3>
Chris@1295 8 <%= render :partial => 'news/news', :collection => @news %>
Chris@1295 9 <%= link_to l(:label_news_view_all), :controller => 'news' %>
Chris@1295 10 </div>
Chris@1295 11 <% end %>
Chris@1295 12 <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
Chris@1295 13 </div>
Chris@1295 14
Chris@1295 15 <div class="splitcontentright">
Chris@1295 16 <% if @projects.any? %>
Chris@1295 17 <div class="projects box">
Chris@1295 18 <h3><%=l(:label_project_latest)%></h3>
Chris@1295 19 <ul>
Chris@1295 20 <% for project in @projects %>
Chris@1295 21 <% @project = project %>
Chris@1295 22 <li>
Chris@1295 23 <%= link_to_project project %> (<%= format_time(project.created_on) %>)
Chris@1295 24 <%= textilizable project.short_description, :project => project %>
Chris@1295 25 </li>
Chris@1295 26 <% end %>
Chris@1295 27 <% @project = nil %>
Chris@1295 28 </ul>
Chris@1295 29 </div>
Chris@1295 30 <% end %>
Chris@1295 31 <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
Chris@1295 32 </div>
Chris@1295 33
Chris@1295 34 <% content_for :header_tags do %>
Chris@1295 35 <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
Chris@1295 36 :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
Chris@1295 37 <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
Chris@1295 38 :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
Chris@1295 39 <% end %>