To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / welcome / index.html.erb @ 1005:85123e5bc883
History | View | Annotate | Download (1.74 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 | 1005:85123e5bc883 | chris | <% if @projects.any? %>
|
| 24 | 909:cbb26bc654de | Chris | <div class="projects box"> |
| 25 | <h3><%=l(:label_project_latest)%></h3> |
||
| 26 | 1005:85123e5bc883 | chris | <%= render :partial => 'projects/latest' %>
|
| 27 | <%= link_to l(:label_projects_more), :controller => 'projects' %>
|
||
| 28 | </div>
|
||
| 29 | <div class="projects box"> |
||
| 30 | <h3><%=l(:label_project_tags_all)%></h3> |
||
| 31 | <%= render :partial => 'projects/tagcloud' %>
|
||
| 32 | <%= link_to l(:label_projects_more), :controller => 'projects' %>
|
||
| 33 | 909:cbb26bc654de | Chris | </div>
|
| 34 | <% end %>
|
||
| 35 | 0:513646585e45 | Chris | <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
|
| 36 | 909:cbb26bc654de | Chris | </div>
|
| 37 | 0:513646585e45 | Chris | |
| 38 | <% content_for :header_tags do %>
|
||
| 39 | 507:0c939c159af4 | Chris | <%= stylesheet_link_tag 'scm' %>
|
| 40 | 0:513646585e45 | Chris | <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
| 41 | :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
|
||
| 42 | 22:40f7cfd4df19 | chris | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
| 43 | 0:513646585e45 | Chris | :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
|
| 44 | <% end %> |