fix sub manger cant edit status

This commit is contained in:
nccu 2014-12-08 17:39:52 +08:00
parent 6cbd47ced2
commit 1a940af1c5
1 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,11 @@
<div class="nav-name"><strong><%= t(:module) %></strong></div> <div class="nav-name"><strong><%= t(:module) %></strong></div>
<ul class="nav nav-pills module-nav"> <ul class="nav nav-pills module-nav">
<li class="active"><a href="#basic" data-toggle="tab"><%= t(:basic) %></a></li> <li class="active"><a href="#basic" data-toggle="tab"><%= t(:basic) %></a></li>
<li><a href="#status" data-toggle="tab"><%= t(:status) %></a></li> <% if is_user_sub_manager? %>
<li></li>
<% else %>
<li><a href="#status" data-toggle="tab"><%= t(:status) %></a></li>
<% end %>
<li><a href="#imageupload" data-toggle="tab"><%= t("news.image") %></a></li> <li><a href="#imageupload" data-toggle="tab"><%= t("news.image") %></a></li>
</ul> </ul>