approve btn fix
This commit is contained in:
parent
95e06354bb
commit
155b9ebb07
|
@ -87,7 +87,7 @@
|
|||
<% end %>
|
||||
|
||||
|
||||
<% if !b.rejected && !b.approved && user_can_approve? && !b.expired? && b.reapproval %>
|
||||
<% if (!b.rejected && !b.approved && user_can_approve? && !b.expired?) || (b.rejected && !b.approved && user_can_approve? && !b.expired? && b.reapproval) %>
|
||||
<li><a href="#" class="appoval_button" data-approve-link="<%= "/#{I18n.locale.to_s}/news/#{b.to_param}" %>" data-id="<%= b.id.to_s %>"><%= t("news.approve") %></a></li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue