diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 333702f25..d160afa2b 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -149,18 +149,18 @@ - <%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %> + + <%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %> + <%= link_to l(:label_module_share) ,share_show_path(@project) %> + + <%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %> + <%= link_to l(:label_project_tool_response) ,project_feedback_path(@project) %> + - <%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %> - <%= link_to l(:label_project_tool_response) ,project_feedback_path(@project) %> - diff --git a/lib/redmine.rb b/lib/redmine.rb index fe4da319d..a60e50079 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -310,8 +310,8 @@ Redmine::MenuManager.map :project_menu do |menu| # menu.push :documents, { :controller => 'documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural # menu.push :wiki, { :controller => 'wiki', :action => 'show', :id => nil }, :param => :project_id, # :if => Proc.new { |p| p.wiki && !p.wiki.new_record? } - # menu.push :boards, { :controller => 'boards', :action => 'index', :id => nil }, :param => :project_id, - # :if => Proc.new { |p| p.boards.any? }, :caption => :label_board_plural + menu.push :boards, { :controller => 'boards', :action => 'index', :id => nil }, :param => :project_id, + :if => Proc.new { |p| p.boards.any? }, :caption => :label_board_plural menu.push :files, { :controller => 'files', :action => 'index' }, :param => :project_id, :caption => :label_file_new menu.push :repository, { :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil }, :if => Proc.new { |p| p.repository && !p.repository.new_record? && !( !User.current.member_of?(p) && p.hidden_repo ) }