move boards to tab_new, remove board from tool list on sidebar.
This commit is contained in:
parent
0381179536
commit
78b65f363f
|
@ -149,18 +149,18 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %>
|
||||
<!-- td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:project_module_boards) ,project_boards_path(@project) %>
|
||||
</td>
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:label_module_share) ,share_show_path(@project) %>
|
||||
</td>
|
||||
</td -->
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:label_module_share) ,share_show_path(@project) %>
|
||||
</td>
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:label_project_tool_response) ,project_feedback_path(@project) %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:label_project_tool_response) ,project_feedback_path(@project) %>
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
|
|
@ -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 ) }
|
||||
|
|
Loading…
Reference in New Issue