Skip to content

Commit

Permalink
show download button for csv, remove template
Browse files Browse the repository at this point in the history
  • Loading branch information
thommahoney committed Sep 5, 2024
1 parent 62c01b0 commit 67e4a22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
7 changes: 0 additions & 7 deletions app/views/staff/proposals/index.csv.erb

This file was deleted.

12 changes: 6 additions & 6 deletions app/views/staff/proposals/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
.row
 

-#.row
-# .col-sm-offset-6.col-sm-6
-# .btn-nav.text-right
-# = link_to event_staff_proposals_path(format: "csv"), id: "download_link", class: "btn btn-info btn-sm" do
-# %span.glyphicon.glyphicon-download-alt
-# Download CSV
.row
.col-sm-offset-6.col-sm-6
.btn-nav.text-right
= link_to event_staff_proposals_path(format: "csv"), id: "download_link", class: "btn btn-info btn-sm" do
%span.glyphicon.glyphicon-download-alt
Download CSV
.row
 

Expand Down
2 changes: 2 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,6 @@

config.time_zone = ENV.fetch('TIMEZONE') { 'Pacific Time (US & Canada)' }
config.action_cable.url = 'ws://localhost:3000/cable'

config.hosts << "nukling.local"
end

0 comments on commit 67e4a22

Please sign in to comment.