Skip to content

Commit

Permalink
Merge pull request #3002 from bitzesty/report
Browse files Browse the repository at this point in the history
Rename 'registered users' report to 'Users of started applications'
  • Loading branch information
DaniBitZesty authored Jul 16, 2024
2 parents d73681b + c8d088b commit 55f8649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/models/reports/admin_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def csv_filename
"#{category}_award#{sub_type}_#{id}_#{time}.csv"
when "reception-buckingham-palace"
"royal-reception-guest-list.csv"
when "registered-users"
"users-of-started-applications.csv"
end
end

Expand Down
4 changes: 2 additions & 2 deletions app/views/admin/dashboard/downloads/_csv_reports.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ h2
ul.download-list
li.download-item
p.download-item__title
' Registered users entry
' Users of started applications
/ p.download-item__description
' Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
= link_to "Download", admin_report_path("registered-users", format: :csv, year: @award_year.year), class: "download-link", aria: { label: "Download Registered users entry" }
= link_to "Download", admin_report_path("registered-users", format: :csv, year: @award_year.year), class: "download-link", aria: { label: "Download Users of started applications" }


li.download-item
Expand Down

0 comments on commit 55f8649

Please sign in to comment.