From 29e203e47e7bcb5b08dca2fd76e896734515529e Mon Sep 17 00:00:00 2001
From: Alex Shulgin <ash@commandprompt.com>
Date: Fri, 8 Jul 2011 16:44:28 +0300
Subject: [PATCH] Added :view_projects_index_activity_menu hook.

---
 app/views/projects/index.rhtml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/views/projects/index.rhtml b/app/views/projects/index.rhtml
index 2b50638..a71b94c 100644
--- a/app/views/projects/index.rhtml
+++ b/app/views/projects/index.rhtml
@@ -6,6 +6,7 @@
     <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
     <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
     <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
+    <%= call_hook(:view_projects_index_activity_menu) %>
     <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
 </div>
 
-- 
1.7.4.1

