diff --git a/app/views/admin/event_news/_index.html.erb b/app/views/admin/event_news/_index.html.erb index f8ea6c0..65f3d34 100644 --- a/app/views/admin/event_news/_index.html.erb +++ b/app/views/admin/event_news/_index.html.erb @@ -93,6 +93,7 @@ <%= content_tag :div, class: "bottomnav clearfix" do - content_tag :div, paginate(@event_news), class: "pagination pagination-centered" + content_tag(:div, paginate(@bulletins), class: "pagination pagination-centered") + + content_tag(:div, link_to(t(:new_),new_event_news_path, :class=>"btn btn-primary"), class: "pull-right") end -%> \ No newline at end of file +%> diff --git a/app/views/admin/event_news/index.html.erb b/app/views/admin/event_news/index.html.erb index bc59a0e..e4d5d13 100644 --- a/app/views/admin/event_news/index.html.erb +++ b/app/views/admin/event_news/index.html.erb @@ -5,7 +5,7 @@ <%= render 'layouts/delete_modal', delete_options: @delete_options %> -<% if EventNewsSetting.is_pro? && user_can_approve? %> +<% if user_can_approve? %> <%= render :partial=> "approval_modal" %>