Revision 1322:596e34bffcc7

View differences:

app/views/projects/explore.html.erb
4 4

  
5 5
<div class="contextual">
6 6
    <%= link_to l(:label_project_all), { :controller => 'projects', :action => 'index' }%>
7
    <%= ('| ' + link_to(l(:label_search_projects), { :controller => 'search', :action => 'index', :projects => 1 })).html_safe %>
7 8
    <%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
8 9
</div>
9 10

  
......
19 20
</div>
20 21

  
21 22
<div class="threecolumnright">
22
  <% cache(:action => 'explore', :action_suffix => 'mature_projects', :expires_in => 1.hour) do %>
23 23
  <div class="projects box">
24
  <h3><%=l(:label_projects_mature)%></h3>
25
    <%= render :partial => 'projects/mature' %>
24
  <h3><%=l(:label_project_latest)%></h3>
25
    <%= render :partial => 'projects/latest' %>
26
    <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
26 27
  </div>
27
  <% end %>
28 28
</div>
29 29

  
30 30
<div class="threecolumnleft">
......
37 37
  <% end %>
38 38
</div>
39 39

  
40
<div class="threecolumnright">
41
  <div class="projects box">
42
  <h3><%=l(:label_project_latest)%></h3>
43
    <%= render :partial => 'projects/latest' %>
44
    <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
45
  </div>
46
</div>
47

  
48 40
<div class="threecolumnmid">
49 41
  <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
50 42
  <div class="projects box">
config/locales/en.yml
525 525
  label_project_tags_all: Popular tags
526 526
  label_projects_busy: Busy projects
527 527
  label_projects_mature: Mature projects
528
  label_search_projects: Search projects
528 529
  label_institutions_busy: Active institutions
529 530
  label_managers: Managed by
530 531
  label_issue: Issue

Also available in: Unified diff