To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / welcome / index.html.erb @ 1012:bbca6f4eebc7

History | View | Annotate | Download (1.51 KB)

1 48:8032b626953b luisf
<% if not Setting.notifications_text.empty? %>
2
  <div class="notifications flash error">
3 47:22ae926000f9 luisf
    <%= textilizable Setting.notifications_text %>
4 48:8032b626953b luisf
  </div>
5
<% end %>
6 47:22ae926000f9 luisf
7 95:74cb18079dd6 Chris
<h2><%= l(:label_home_heading) %></h2>
8 0:513646585e45 Chris
9
<div class="splitcontentleft">
10
  <%= textilizable Setting.welcome_text %>
11 42:df605e25de58 luisf
12 0:513646585e45 Chris
  <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
13
</div>
14
15
<div class="splitcontentright">
16 374:dcfde3922ec2 chris
  <% if @site_news.any? %>
17 1005:85123e5bc883 chris
    <div class="news box">
18
       <h3><%=l(:label_news_site_latest)%></h3>
19 374:dcfde3922ec2 chris
        <%= render :partial => 'news/news', :locals => { :project => @site_project }, :collection => @site_news %>
20
        <%= link_to l(:label_news_more), { :controller => 'projects', :action => @site_project.identifier, :id => 'news' } %>
21 22:40f7cfd4df19 chris
  </div>
22
  <% end %>
23 909:cbb26bc654de Chris
  <div class="projects box">
24
  <h3><%=l(:label_project_latest)%></h3>
25 1005:85123e5bc883 chris
    <%= render :partial => 'projects/latest' %>
26
    <%= link_to l(:label_projects_more), :controller => 'projects' %>
27
  </div>
28 0:513646585e45 Chris
    <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
29 909:cbb26bc654de Chris
</div>
30 0:513646585e45 Chris
31
<% content_for :header_tags do %>
32 507:0c939c159af4 Chris
<%= stylesheet_link_tag 'scm' %>
33 0:513646585e45 Chris
<%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
34
                                   :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
35 22:40f7cfd4df19 chris
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
36 0:513646585e45 Chris
                                   :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
37
<% end %>