Mercurial > hg > soundsoftware-site
changeset 1322:596e34bffcc7 redmine-2.2-integration
Temporarily remove "Mature projects", it doesn't work well enough. Add Search Projects link
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 16:18:23 +0100 |
parents | a7dcfc46fbe2 |
children | e1899e896dbc |
files | app/views/projects/explore.html.erb config/locales/en.yml |
diffstat | 2 files changed, 5 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ <div class="contextual"> <%= 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) %> </div> @@ -19,12 +20,11 @@ </div> <div class="threecolumnright"> - <% cache(:action => 'explore', :action_suffix => 'mature_projects', :expires_in => 1.hour) do %> <div class="projects box"> - <h3><%=l(:label_projects_mature)%></h3> - <%= render :partial => 'projects/mature' %> + <h3><%=l(:label_project_latest)%></h3> + <%= render :partial => 'projects/latest' %> + <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %> </div> - <% end %> </div> <div class="threecolumnleft"> @@ -37,14 +37,6 @@ <% end %> </div> -<div class="threecolumnright"> - <div class="projects box"> - <h3><%=l(:label_project_latest)%></h3> - <%= render :partial => 'projects/latest' %> - <%= link_to l(:label_projects_more), { :controller => 'projects' }, :class => 'more' %> - </div> -</div> - <div class="threecolumnmid"> <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %> <div class="projects box">
--- 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