From 036de05be589363411c7d57bc8161792bb7df6e1 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 26 Mar 2015 20:32:59 +0800 Subject: [PATCH] small fix for approve --- app/views/admin/announcements/_index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/announcements/_index.html.erb b/app/views/admin/announcements/_index.html.erb index f8bd046..9e6ad9b 100644 --- a/app/views/admin/announcements/_index.html.erb +++ b/app/views/admin/announcements/_index.html.erb @@ -83,7 +83,7 @@
  • <%= t(:delete_) %>
  • <% end %> <% end %> - <% if b.rejected && !b.approved && user_can_approve? && !b.expired? %> + <% if !b.rejected && !b.approved && user_can_approve? && !b.expired? %>
  • " data-id="<%= b.id.to_s %>"><%= t("announcement.approve") %>
  • <% end %> <% end %>