Skip to content

Commit

Permalink
fix margin/padding for "original post deleted"-message
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperTux88 authored and denschub committed May 19, 2015
1 parent 267a1df commit cde9b24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
25 changes: 8 additions & 17 deletions app/assets/templates/reshare_tpl.jst.hbs
@@ -1,16 +1,11 @@
<div class="reshare">

{{#if root}}

<div class="media">

<div class="media">
{{#if root}}
{{#with root}}
<a href="/people/{{author.guid}}" class="img {{{hovercardable this}}}">
{{{personImage author 'small'}}}
</a>
{{/with}}

{{#with root}}
<div class="bd">
<div>
{{#linkToAuthor author}}
Expand All @@ -33,14 +28,10 @@

{{> status-message}}
</div>

</div>

{{else}}

<p>
{{t "stream.original_post_deleted"}}
</p>
{{/if}}

{{else}}
<p>
{{t "stream.original_post_deleted"}}
</p>
{{/if}}
</div>
</div>
3 changes: 2 additions & 1 deletion app/views/reshares/_reshare.mobile.haml
Expand Up @@ -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
Expand Down

0 comments on commit cde9b24

Please sign in to comment.