Skip to content

Commit

Permalink
Merge branch 'attachment_file_types' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
elad-eyal committed Sep 5, 2019
2 parents 497b197 + 3b56281 commit 221cfea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/event_attachment.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class EventAttachment < ApplicationRecord
ATTACHMENT_TITLES = %w(proposal slides poster video other).freeze
ATTACHMENT_TITLES = %w(proposal poster slides handouts media video other).freeze
belongs_to :event

has_attached_file :attachment
Expand Down
6 changes: 4 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,13 @@ en:
all_events: All events
all_rating: All ratings
predefined_title_types:
handouts: handouts
media: media
other: other
poster: poster
proposal: proposal
slides: slides
poster: poster
video: video
other: other
average_feedback: 'Average Feedback:'
average_speaker_feedback: 'Average feedback as speaker:'
cancel_event: Cancel event
Expand Down

0 comments on commit 221cfea

Please sign in to comment.