fix sub manger cant edit status
This commit is contained in:
parent
6cbd47ced2
commit
1a940af1c5
|
@ -35,7 +35,11 @@
|
|||
<div class="nav-name"><strong><%= t(:module) %></strong></div>
|
||||
<ul class="nav nav-pills module-nav">
|
||||
<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>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue