From b268ed453f19a33bffca47a9397eeb68cbd6f897 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 3 Mar 2019 18:44:23 +0000 Subject: [PATCH] Simplified markdown digest, removing some labels --- app/views/digests/markdown.html.haml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/digests/markdown.html.haml b/app/views/digests/markdown.html.haml index aa8fd873..335bf4a1 100644 --- a/app/views/digests/markdown.html.haml +++ b/app/views/digests/markdown.html.haml @@ -11,9 +11,8 @@ \ * #{[event.place_name, event.full_address].compact.join ', '} - if event.url.present? - * #{Event.human_attribute_name :url}: #{event.url} - * #{Event.human_attribute_name :tags}: - = event.tags.collect { |tag| "[#{tag}](#{tag_url tag.name})" }.join ', ' + * #{event.url} + * #{event.tags.collect { |tag| "[#{tag}](#{tag_url tag.name})" }.join ', '} \ %h1= title