# HG changeset patch
# User Chris Cannam
# Date 1395411465 0
# Node ID 96ca535049b3c6d66d077d30f0c83734821b1759
# Parent 9f37f7e39d3cfd10e4c8aa498c67066f32ffcd3c# Parent e1cfd013ef497452c916f449f63f2d2ffc7d27a7
Merge from branch "live"
diff -r 9f37f7e39d3c -r 96ca535049b3 app/controllers/projects_controller.rb
--- a/app/controllers/projects_controller.rb Fri Mar 21 13:37:39 2014 +0000
+++ b/app/controllers/projects_controller.rb Fri Mar 21 14:17:45 2014 +0000
@@ -58,7 +58,7 @@
@project_pages = Paginator.new self, @project_count, @limit, params['page']
@offset ||= @project_pages.current.offset
@projects = Project.visible_roots.all(:offset => @offset, :limit => @limit, :order => sort_clause)
- render :template => 'projects/index.html.erb', :layout => !request.xhr?
+ render :template => 'projects/index', :layout => !request.xhr?
## Redmine 2.2:
# scope = Project
@@ -85,7 +85,7 @@
respond_to do |format|
format.html {
@projects = Project.visible
- render :template => 'projects/explore.html.erb', :layout => !request.xhr?
+ render :template => 'projects/explore', :layout => !request.xhr?
}
end
end
diff -r 9f37f7e39d3c -r 96ca535049b3 app/views/projects/explore.html.erb
--- a/app/views/projects/explore.html.erb Fri Mar 21 13:37:39 2014 +0000
+++ b/app/views/projects/explore.html.erb Fri Mar 21 14:17:45 2014 +0000
@@ -37,6 +37,16 @@
<% end %>
+
+ <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %>
+
+
<%=l(:label_projects_busy)%>
+ <%= render :partial => 'activities/busy' %>
+ <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
+
+ <% end %>
+
+
<% cache(:action => 'explore', :action_suffix => 'mature_projects') do %>
@@ -47,14 +57,4 @@
<% end %>
-
- <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %>
-
-
<%=l(:label_projects_busy)%>
- <%= render :partial => 'activities/busy' %>
- <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }, :class => 'more' %>
-
- <% end %>
-
-
<% html_title(l(:label_explore_projects)) -%>
diff -r 9f37f7e39d3c -r 96ca535049b3 app/views/projects/show.html.erb
--- a/app/views/projects/show.html.erb Fri Mar 21 13:37:39 2014 +0000
+++ b/app/views/projects/show.html.erb Fri Mar 21 14:17:45 2014 +0000
@@ -133,4 +133,4 @@
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
<% end %>
-<% html_title(l(:label_overview)) -%>
+<% html_title('') -%>
diff -r 9f37f7e39d3c -r 96ca535049b3 plugins/redmine_bibliography/app/views/projects/show.html.erb
--- a/plugins/redmine_bibliography/app/views/projects/show.html.erb Fri Mar 21 13:37:39 2014 +0000
+++ b/plugins/redmine_bibliography/app/views/projects/show.html.erb Fri Mar 21 14:17:45 2014 +0000
@@ -139,4 +139,4 @@
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
<% end %>
-<% html_title(l(:label_overview)) -%>
+<% html_title('') -%>
diff -r 9f37f7e39d3c -r 96ca535049b3 plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb
--- a/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb Fri Mar 21 13:37:39 2014 +0000
+++ b/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb Fri Mar 21 14:17:45 2014 +0000
@@ -77,7 +77,7 @@
# todo: check ordering ~luisf.14/Jan/2013
@projects = @projects[@offset, @limit]
- render :template => 'projects/index.html.erb', :layout => !request.xhr?
+ render :template => 'projects/index', :layout => !request.xhr?
}
format.api {
@offset, @limit = api_offset_and_limit