]> cat aescling's git repositories - mastodon.git/commitdiff
add duck beaks in haml
authorOndřej Hruška <ondra@ondrovo.com>
Wed, 11 Oct 2017 19:34:00 +0000 (21:34 +0200)
committerOndřej Hruška <ondra@ondrovo.com>
Wed, 11 Oct 2017 19:34:00 +0000 (21:34 +0200)
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml

index 9a26d2c0b68344126cc27888828b13e581ab8ec5..a4eab16df5438f12cfcc55ee5e9b59855f675f2f 100644 (file)
@@ -17,7 +17,7 @@
       %p{ style: 'margin-bottom: 0' }<
         %span.p-summary> #{Formatter.instance.format_spoiler(status)}&nbsp;
         %a.status__content__spoiler-link{ href: '#' }= t('statuses.show_more')
-    .e-content{ lang: status.language, style: "display: #{status.spoiler_text? ? 'none' : 'block'}; direction: #{rtl_status?(status) ? 'rtl' : 'ltr'}" }
+    .e-content{ lang: status.language, style: "display: #{status.spoiler_text? ? 'none' : 'block'}; direction: #{rtl_status?(status) ? 'rtl' : 'ltr'}" }<
       = Formatter.instance.format(status, custom_emojify: true)
 
       - if !status.media_attachments.empty?
index 9a2524219c8361cf187a7f4a7e4d4996e9ca1bb5..0b45ff3081028372128efaec30632c9c3a3d12e3 100644 (file)
@@ -18,7 +18,7 @@
       %p{ style: 'margin-bottom: 0' }<
         %span.p-summary> #{Formatter.instance.format_spoiler(status)}&nbsp;
         %a.status__content__spoiler-link{ href: '#' }= t('statuses.show_more')
-    .e-content{ lang: status.language, style: "display: #{status.spoiler_text? ? 'none' : 'block'}; direction: #{rtl_status?(status) ? 'rtl' : 'ltr'}" }
+    .e-content{ lang: status.language, style: "display: #{status.spoiler_text? ? 'none' : 'block'}; direction: #{rtl_status?(status) ? 'rtl' : 'ltr'}" }<
       = Formatter.instance.format(status, custom_emojify: true)
 
       - unless status.media_attachments.empty?
This page took 0.026955 seconds and 3 git commands to generate.