agenda-libre-ruby/app/views/events/show.text.haml

20 lines
954 B
Plaintext
Raw Normal View History

==============================================================================
!= 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-25 15:57:09 +02:00
!= display_attr @event, :region, t(@event.region.code, scope: :countries, default: @event.region.name)
!= display_attr @event, :locality, t("attributes.locality_#{@event.locality}")
!= display_attr @event, :url
- if @event.contact.present?
!= display_attr @event, :contact
!= display_attr @event, :tag_list, @event.tag_list
2018-09-23 18:06:52 +02:00
- if @event.repeat&.positive?
= display_attr @event, :repeat
= display_attr @event, :rule, t(@event.rule, scope: 'activerecord.attributes.event.rule_values')
\
!= to_markdown @event.description, 78
==============================================================================