From c3b61dafb6b0567ab0aab9df522ffdab4b35079a Mon Sep 17 00:00:00 2001 From: cynthia sanchez Date: Tue, 20 Oct 2015 12:19:38 +0200 Subject: [PATCH] fix in 'view all activities' in the admin section --- app/views/admin/activities/index.html.slim | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/app/views/admin/activities/index.html.slim b/app/views/admin/activities/index.html.slim index dc63ea301..4a5f84642 100644 --- a/app/views/admin/activities/index.html.slim +++ b/app/views/admin/activities/index.html.slim @@ -1,11 +1,13 @@ -h1 - .pull-left - | Activities - .pull-right - a.btn.btn-primary[role="button" href="#{url_for(admin_activities_path(format: :csv))}" title="Download in CSV format"] - i.fa.fa-download - .clearfix - -- @activities.each do |activity| - = render_activity(activity) -= paginate(@activities) +.panel.panel-default + .panel-heading + h5 + | All activities + .pull-right + a.btn.btn-link.btn-xs[role="button" href="#{url_for(admin_activities_path(format: :csv))}" title="Download in CSV format"] + i.fa.fa-download + | Download CSV + .panel-body + ul.activity + - @activities.each do |activity| + = render_activity(activity) + = paginate(@activities)