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
|
|
|
|
!= display_attr @event, :region, @event.region
|
|
|
|
!= 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
|
2017-10-21 20:21:25 +02:00
|
|
|
!= display_attr @event, :tag_list, @event.tag_list
|
2017-06-04 12:59:14 +02:00
|
|
|
- if @event.repeat > 0
|
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
|
|
|
==============================================================================
|