From 7487c538f35f0e54f7df45a741c5a311546adacc Mon Sep 17 00:00:00 2001 From: alan <547533434@qq.com> Date: Thu, 30 Oct 2014 10:06:35 +0800 Subject: [PATCH] Signed-off-by: alan <547533434@qq.com> --- Gemfile.lock | 1 + app/views/layouts/base_projects.html.erb | 2 +- app/views/projects/_tools_expand.html.erb | 3 + config/routes.rb | 1 + db/schema.rb | 2612 ++++++++++----------- lib/redmine/menu_manager.rb | 28 +- 6 files changed, 1328 insertions(+), 1319 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4ba8ecf6c..6916219a9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -125,6 +125,7 @@ GEM mocha (1.1.0) metaclass (~> 0.0.1) multi_json (1.10.1) + mysql2 (0.3.11) mysql2 (0.3.11-x86-mingw32) net-ldap (0.3.1) nokogiri (1.6.3) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 8f6d86f29..f656f5263 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -95,7 +95,7 @@ <%= l(:label_member) %> <%= l(:label_user_watchered) %> <%= l(:label_project_issues) %> - +
diff --git a/app/views/projects/_tools_expand.html.erb b/app/views/projects/_tools_expand.html.erb index 1639fcd30..c6cd24e21 100644 --- a/app/views/projects/_tools_expand.html.erb +++ b/app/views/projects/_tools_expand.html.erb @@ -11,6 +11,9 @@ <% if @project.enabled_modules.where("name = 'wiki'").count > 0 %>
  • <%= link_to l(:project_module_wiki), project_wiki_path(@project) %>
  • <% end %> + <% if @project.enabled_modules.where("name = 'code_review'").count > 0 %> +
  • <%= link_to l(:project_module_code_review), {controller: 'code_review', action: 'index', id: @project.id} %>
  • + <% end %>