mirror of
https://github.com/redmine/redmine.git
synced 2026-07-21 04:00:01 +02:00
Show warning for closed projects on all project pages not only on Overview (#43818).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24419 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -121,6 +121,9 @@
|
||||
|
||||
<div id="content">
|
||||
<%= render_flash_messages %>
|
||||
<% if @project && !@project.active? %>
|
||||
<p class="warning"><span class="icon icon-lock"><%= sprite_icon('lock', l(:text_project_closed)) %></span></p>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
<%= call_hook :view_layouts_base_content %>
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
<h2><%=l(:label_overview)%></h2>
|
||||
|
||||
<% unless @project.active? %>
|
||||
<p class="warning"><span class="icon icon-lock"><%= sprite_icon('lock', l(:text_project_closed)) %></span></p>
|
||||
<% end %>
|
||||
|
||||
<div class="splitcontent">
|
||||
<div class="splitcontentleft">
|
||||
<% if @project.description.present? %>
|
||||
|
||||
Reference in New Issue
Block a user