annotate app/views/welcome/index.html.erb @ 1296:038ba2d95de8 redmine-2.2

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