From cde9b24476b3066ac7084b0c7163940b62feff71 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Mon, 18 May 2015 00:29:38 +0200 Subject: [PATCH] fix margin/padding for "original post deleted"-message --- app/assets/templates/reshare_tpl.jst.hbs | 25 ++++++++---------------- app/views/reshares/_reshare.mobile.haml | 3 ++- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/app/assets/templates/reshare_tpl.jst.hbs b/app/assets/templates/reshare_tpl.jst.hbs index a1a661658..b1334fa0a 100644 --- a/app/assets/templates/reshare_tpl.jst.hbs +++ b/app/assets/templates/reshare_tpl.jst.hbs @@ -1,16 +1,11 @@
- - {{#if root}} - -
- +
+ {{#if root}} {{#with root}} {{{personImage author 'small'}}} - {{/with}} - {{#with root}}
{{#linkToAuthor author}} @@ -33,14 +28,10 @@ {{> status-message}}
- -
- - {{else}} - -

- {{t "stream.original_post_deleted"}} -

- {{/if}} - + {{else}} +

+ {{t "stream.original_post_deleted"}} +

+ {{/if}} +
diff --git a/app/views/reshares/_reshare.mobile.haml b/app/views/reshares/_reshare.mobile.haml index 6d8a11549..36ee8c2e6 100644 --- a/app/views/reshares/_reshare.mobile.haml +++ b/app/views/reshares/_reshare.mobile.haml @@ -12,7 +12,8 @@ - if !post.activity_streams? = render 'status_messages/status_message', :post => post, :photos => post.photos - else - = t('.deleted') + .content + = t('.deleted') .reshare_via %span