annotate .svn/pristine/23/23b009231ec6aa90fecfe01522aea6ff2ac84fb3.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 <h2><%= l(:label_home) %></h2>
Chris@909 2
Chris@909 3 <div class="splitcontentleft">
Chris@909 4 <%= textilizable Setting.welcome_text %>
Chris@909 5 <% if @news.any? %>
Chris@909 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@909 10 </div>
Chris@909 11 <% end %>
Chris@909 12 <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
Chris@909 13 </div>
Chris@909 14
Chris@909 15 <div class="splitcontentright">
Chris@909 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@909 27 <% @project = nil %>
Chris@909 28 </ul>
Chris@909 29 </div>
Chris@909 30 <% end %>
Chris@909 31 <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
Chris@909 32 </div>
Chris@909 33
Chris@909 34 <% content_for :header_tags do %>
Chris@909 35 <%= stylesheet_link_tag 'scm' %>
Chris@909 36 <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
Chris@909 37 :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
Chris@909 38 <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
Chris@909 39 :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
Chris@909 40 <% end %>