small fix for approve
This commit is contained in:
parent
db6b4266a8
commit
0427ae7f0c
|
@ -87,7 +87,7 @@
|
|||
<% end %>
|
||||
|
||||
|
||||
<% if b.rejected && !b.approved && user_can_approve? && !b.expired? %>
|
||||
<% if !b.rejected && !b.approved && user_can_approve? && !b.expired? %>
|
||||
<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