fix margin/padding for "original post deleted"-message

This commit is contained in:
Benjamin Neff 2015-05-18 00:29:38 +02:00 committed by Dennis Schubert
parent 267a1df3c4
commit cde9b24476
2 changed files with 10 additions and 18 deletions

View file

@ -1,16 +1,11 @@
<div class="reshare"> <div class="reshare">
<div class="media">
{{#if root}} {{#if root}}
<div class="media">
{{#with root}} {{#with root}}
<a href="/people/{{author.guid}}" class="img {{{hovercardable this}}}"> <a href="/people/{{author.guid}}" class="img {{{hovercardable this}}}">
{{{personImage author 'small'}}} {{{personImage author 'small'}}}
</a> </a>
{{/with}}
{{#with root}}
<div class="bd"> <div class="bd">
<div> <div>
{{#linkToAuthor author}} {{#linkToAuthor author}}
@ -33,14 +28,10 @@
{{> status-message}} {{> status-message}}
</div> </div>
{{else}}
</div> <p>
{{t "stream.original_post_deleted"}}
{{else}} </p>
{{/if}}
<p> </div>
{{t "stream.original_post_deleted"}}
</p>
{{/if}}
</div> </div>

View file

@ -12,7 +12,8 @@
- if !post.activity_streams? - if !post.activity_streams?
= render 'status_messages/status_message', :post => post, :photos => post.photos = render 'status_messages/status_message', :post => post, :photos => post.photos
- else - else
= t('.deleted') .content
= t('.deleted')
.reshare_via .reshare_via
%span %span