annotate app/views/welcome/.svn/text-base/index.rhtml.svn-base @ 0:513646585e45

* Import Redmine trunk SVN rev 3859
author Chris Cannam
date Fri, 23 Jul 2010 15:52:44 +0100
parents
children 1d32c0a0efbf
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@0 7 <h3><%=l(:label_news_latest)%></h3>
Chris@0 8 <%= render :partial => 'news/news', :collection => @news %>
Chris@0 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@0 17 <div class="projects box">
Chris@0 18 <h3><%=l(:label_project_latest)%></h3>
Chris@0 19 <ul>
Chris@0 20 <% for project in @projects %>
Chris@0 21 <% @project = project %>
Chris@0 22 <li>
Chris@0 23 <%= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
Chris@0 24 <%= textilizable project.short_description, :project => project %>
Chris@0 25 </li>
Chris@0 26 <% end %>
Chris@0 27 <% @project = nil %>
Chris@0 28 </ul>
Chris@0 29 </div>
Chris@0 30 <% end %>
Chris@0 31 <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
Chris@0 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@0 37 <%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :key => User.current.rss_key, :format => 'atom'},
Chris@0 38 :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
Chris@0 39 <% end %>