# HG changeset patch # User Chris Cannam # Date 1371655103 -3600 # Node ID 596e34bffcc7698e7c9fdee0fc72b95389b7c827 # Parent a7dcfc46fbe2db5e198c4e7b0f1776f8d945e8aa Temporarily remove "Mature projects", it doesn't work well enough. Add Search Projects link diff -r a7dcfc46fbe2 -r 596e34bffcc7 app/views/projects/explore.html.erb --- a/app/views/projects/explore.html.erb Wed Jun 19 15:19:01 2013 +0100 +++ b/app/views/projects/explore.html.erb Wed Jun 19 16:18:23 2013 +0100 @@ -4,6 +4,7 @@
<%= link_to l(:label_project_all), { :controller => 'projects', :action => 'index' }%> + <%= ('| ' + link_to(l(:label_search_projects), { :controller => 'search', :action => 'index', :projects => 1 })).html_safe %> <%= ('| ' + 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) %>
@@ -19,12 +20,11 @@
- <% cache(:action => 'explore', :action_suffix => 'mature_projects', :expires_in => 1.hour) do %>
-

<%=l(:label_projects_mature)%>

- <%= render :partial => 'projects/mature' %> +

<%=l(:label_project_latest)%>

+ <%= render :partial => 'projects/latest' %> + <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %>
- <% end %>
@@ -37,14 +37,6 @@ <% end %>
-
-
-

<%=l(:label_project_latest)%>

- <%= render :partial => 'projects/latest' %> - <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %> -
-
-
<% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
diff -r a7dcfc46fbe2 -r 596e34bffcc7 config/locales/en.yml --- a/config/locales/en.yml Wed Jun 19 15:19:01 2013 +0100 +++ b/config/locales/en.yml Wed Jun 19 16:18:23 2013 +0100 @@ -525,6 +525,7 @@ label_project_tags_all: Popular tags label_projects_busy: Busy projects label_projects_mature: Mature projects + label_search_projects: Search projects label_institutions_busy: Active institutions label_managers: Managed by label_issue: Issue