diff --git a/app/views/forums/_forum_list.html.erb b/app/views/forums/_forum_list.html.erb index 99060bb59..671bb3a0e 100644 --- a/app/views/forums/_forum_list.html.erb +++ b/app/views/forums/_forum_list.html.erb @@ -6,7 +6,7 @@ <%= link_to image_tag(url_to_avatar(forum.creator), :class => "avatar"), user_path(forum.creator) %> - +
<%= link_to h(forum.name), forum_path(forum) %> diff --git a/config/locales/en.yml b/config/locales/en.yml index b3c1b2bde..2be259949 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1566,7 +1566,7 @@ en: label_newbie_faq: newbie FAQ label_hot_project: 'HOT Projects' label_memo_create_succ: Memo was successfully created. - + label_project_module_boards: Forums diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 82abf54a4..526f12c56 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -513,6 +513,7 @@ zh: label_software_user: 软件创客 label_contest_innovate: 创新竞赛 label_requirement_enterprise: 软件众包 + label_project_module_boards: 讨论区 label_new_homework: 作业 label_new_contest: 竞赛 label_requirement_focus: 关注需求 diff --git a/lib/redmine.rb b/lib/redmine.rb index a60e50079..1e057e897 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -203,6 +203,8 @@ Redmine::MenuManager.map :top_menu do |menu| menu.push :software_user, {:controller => 'users', :action => 'index'} menu.push :contest_innovate, {:controller => 'bids', :action => 'contest', :project_type => 1} menu.push :requirement_enterprise, {:controller => 'bids', :action => 'index'} + menu.push :project_module_boards, {:controller => 'forums', :action => 'index'} + # menu.push :investor, :home_path # menu.push :theme, :home_path