Skip to content

Commit

Permalink
Merge pull request #615 from ChicagoWorldcon/PLAN-700-add-duration-to…
Browse files Browse the repository at this point in the history
…-grid

Plan-700 add duration to grid (2.0)
  • Loading branch information
Gailbear authored Aug 12, 2022
2 parents 841d1e9 + 2c2f8b2 commit 1e6710b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/reports/program_ops_reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def back_of_badge
row.concat [
assignment.session.title,
assignment.session.start_time ? FastExcel.date_num(assignment.session.start_time, assignment.session.start_time.in_time_zone.utc_offset) : nil,
assignment.session.duration + 'mins',
assignment.session.duration + ' mins',
assignment.session.room&.name,
]
styles.concat [
Expand Down
2 changes: 2 additions & 0 deletions app/controllers/reports/session_reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def daily_grid
'Areas',
'Format',
'Start Time',
'Duration',
'Room'
]
)
Expand All @@ -74,6 +75,7 @@ def daily_grid
session.area_list.sort.join(';'),
session.format&.name,
session.start_time ? FastExcel.date_num(session.start_time, session.start_time.in_time_zone.utc_offset) : nil,
session.duration,
session.room&.name
],
styles
Expand Down

0 comments on commit 1e6710b

Please sign in to comment.