fix sub manger cant edit status

This commit is contained in:
nccu 2014-12-08 17:41:04 +08:00
parent 8770d7d8ca
commit 002546ec7f
1 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,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="#tag" data-toggle="tab"><%= t(:tags) %></a></li>
<!-- <li><a href="#imageupload" data-toggle="tab"><%= t(:image) %></a></li>
<li><a href="#mail-group" data-toggle="tab"><%= t('announcement.email_reminder')%></a></li> -->