Browse Source

Fixed missing translation for custom themes on admin schedule page

development
Godwin 8 years ago
committed by GitHub
parent
commit
41887f9d65
  1. 2
      app/views/conferences/admin/_schedule.html.haml

2
app/views/conferences/admin/_schedule.html.haml

@ -118,7 +118,7 @@
- needs << (_"workshop.options.needs.#{need}")
= _!(needs.join ', ')
= data_set(:h5, 'articles.workshops.headings.theme') do
= workshop.theme.present? ? (_"workshop.options.theme.#{workshop.theme}") : ''
= Workshop.all_themes.include?((workshop.theme || '').to_sym) ? (_"workshop.options.theme.#{workshop.theme}") : workshop.theme
= data_set(:h5, 'articles.workshops.headings.space') do
= workshop.space.present? ? (_"workshop.options.space.#{workshop.space}") : ''
= data_set(:h5, 'forms.labels.generic.info') do

Loading…
Cancel
Save