Small correction on test attribute, for proper translation

This commit is contained in:
echarp 2019-05-04 22:05:02 +02:00
parent ae8241fd70
commit b190cf485b
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
!= display_attr @event, :url != display_attr @event, :url
- if @event.contact.present? - if @event.contact.present?
!= display_attr @event, :contact != display_attr @event, :contact
!= display_attr @event, :tag_list, @event.tag_list != display_attr @event, :tags, @event.tag_list
- if @event.repeat&.positive? - if @event.repeat&.positive?
= display_attr @event, :repeat = display_attr @event, :repeat
= display_attr @event, :rule, t(@event.rule, scope: 'activerecord.attributes.event.rule_values') = display_attr @event, :rule, t(@event.rule, scope: 'activerecord.attributes.event.rule_values')

View File

@ -11,7 +11,7 @@
!= display_attr @orga, :feed != display_attr @orga, :feed
!= display_attr @orga, :contact != display_attr @orga, :contact
!= display_attr @orga, :submitter != display_attr @orga, :submitter
!= display_attr @orga, :tag_list, @orga.tag_list != display_attr @orga, :tags, @orga.tag_list
!= display_attr @orga, :active, t(@orga.active.to_s) != display_attr @orga, :active, t(@orga.active.to_s)
\ \
!= to_markdown @orga.description, 78 != to_markdown @orga.description, 78