2017-06-04 14:38:02 +02:00
|
|
|
==============================================================================
|
2017-10-21 20:21:25 +02:00
|
|
|
!= display_attr @event, :title
|
|
|
|
!= display_attr @event, :start_time, l(@event.start_time, format: :at)
|
|
|
|
!= display_attr @event, :end_time, l(@event.end_time, format: :at)
|
|
|
|
!= display_attr @event, :place_name
|
|
|
|
!= display_attr @event, :address
|
|
|
|
!= display_attr @event, :city
|
2019-04-29 18:29:38 +02:00
|
|
|
!= display_attr @event, :region, t(@event.region.code.present? ? @event.region.code : @event.region.name, scope: :countries, default: @event.region.name)
|
2017-10-21 20:21:25 +02:00
|
|
|
!= display_attr @event, :locality, t("attributes.locality_#{@event.locality}")
|
|
|
|
!= display_attr @event, :url
|
2018-04-08 23:40:08 +02:00
|
|
|
- if @event.contact.present?
|
|
|
|
!= display_attr @event, :contact
|
2019-05-04 22:05:02 +02:00
|
|
|
!= display_attr @event, :tags, @event.tag_list
|
2018-09-23 18:06:52 +02:00
|
|
|
- if @event.repeat&.positive?
|
2017-06-04 14:38:02 +02:00
|
|
|
= display_attr @event, :repeat
|
|
|
|
= display_attr @event, :rule, t(@event.rule, scope: 'activerecord.attributes.event.rule_values')
|
2017-06-04 12:59:14 +02:00
|
|
|
\
|
2017-10-21 20:21:25 +02:00
|
|
|
!= to_markdown @event.description, 78
|
2017-06-04 14:38:02 +02:00
|
|
|
==============================================================================
|