Revision 1349:4ff3f8b81ab3 app/views
| app/views/activities/_busy.html.erb | ||
|---|---|---|
| 13 | 13 |
<ul> |
| 14 | 14 |
|
| 15 | 15 |
<% |
| 16 |
for project in busy_projects(events, 5)
|
|
| 16 |
for project in busy_projects(events, 7)
|
|
| 17 | 17 |
%> |
| 18 | 18 |
|
| 19 | 19 |
<li class="busy"> |
| app/views/projects/explore.html.erb | ||
|---|---|---|
| 11 | 11 |
<h2><%= l(:label_explore_projects) %></h2> |
| 12 | 12 |
|
| 13 | 13 |
<div class="threecolumnleft"> |
| 14 |
<% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %>
|
|
| 14 |
<% cache(:action => 'explore', :action_suffix => 'tags') do %> |
|
| 15 | 15 |
<div class="tags box"> |
| 16 | 16 |
<h3><%=l(:label_project_tags_all)%></h3> |
| 17 | 17 |
<%= render :partial => 'projects/tagcloud' %> |
| ... | ... | |
| 28 | 28 |
</div> |
| 29 | 29 |
|
| 30 | 30 |
<div class="threecolumnleft"> |
| 31 |
<% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
|
|
| 31 |
<% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %> |
|
| 32 | 32 |
<div class="institutions box"> |
| 33 | 33 |
<h3><%=l(:label_institutions_busy)%></h3> |
| 34 | 34 |
<%= render :partial => 'activities/busy_institution' %> |
| ... | ... | |
| 38 | 38 |
</div> |
| 39 | 39 |
|
| 40 | 40 |
<div class="threecolumnmid"> |
| 41 |
<% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
|
|
| 41 |
<% cache(:action => 'explore', :action_suffix => 'busy_projects') do %> |
|
| 42 | 42 |
<div class="projects box"> |
| 43 | 43 |
<h3><%=l(:label_projects_busy)%></h3> |
| 44 | 44 |
<%= render :partial => 'activities/busy' %> |
| app/views/welcome/index.html.erb | ||
|---|---|---|
| 5 | 5 |
</div> |
| 6 | 6 |
<% end %> |
| 7 | 7 |
|
| 8 |
<div id="welcomepagenews"> |
|
| 9 |
<% if @site_news.any? %> |
|
| 10 |
<div class="news box"> |
|
| 11 |
<h3><%=l(:label_news_site_latest)%></h3> |
|
| 12 |
<%= render :partial => 'news/news', :locals => { :project => @site_project }, :collection => @site_news %>
|
|
| 13 |
<%= link_to l(:label_news_more), { :controller => 'news', :project_id => @site_project.identifier, :action => 'index' } %>
|
|
| 14 |
</div> |
|
| 15 |
<% end %> |
|
| 16 |
</div> |
|
| 17 |
|
|
| 8 | 18 |
<div id="welcomepage"> |
| 9 |
|
|
| 10 | 19 |
<%= textilizable Setting.welcome_text %> |
| 11 |
|
|
| 12 | 20 |
</div> |
| 13 | 21 |
|
| 14 | 22 |
<% content_for :header_tags do %> |
Also available in: Unified diff