Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
fix in 'view all activities' in the admin section
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntss committed Oct 20, 2015
1 parent 37e4720 commit c3b61da
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions app/views/admin/activities/index.html.slim
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit c3b61da

Please sign in to comment.