This commit is contained in:
Harry Bomrah 2015-03-26 20:39:20 +08:00
parent 036de05be5
commit f0f8d26cd9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
<li><a href="#" class="delete text-error" rel="/admin/announcements/<%=b.id.to_s%>"><%= t(:delete_) %></a></li>
<% end %>
<% end %>
<% if !b.rejected && !b.approved && user_can_approve? && !b.expired? %>
<% if !b.rejected && !b.approved && user_can_approve? && !b.expired? && b.reapproval %>
<li><a href="#" class="appoval_button" data-approve-link="<%= "/#{I18n.locale.to_s}/announcement/#{b.to_param}" %>" data-id="<%= b.id.to_s %>"><%= t("announcement.approve") %></a></li>
<% end %>
<% end %>