fix reshare tempalte; reorder header

This commit is contained in:
danielgrippi 2012-02-09 15:50:32 -08:00
parent e6e49bbf1f
commit f7e09df49b
3 changed files with 34 additions and 38 deletions

View file

@ -1,22 +1,21 @@
<div class="container" style="position:relative;">
<a href="/participate">
<a href="/explore">
<img alt="Logo_small" class="diaspora_header_logo" height="38px" width="65px" src="{{imageUrl "/images/header-logo.png"}}" />
</a>
<span class="header-nav">
<span>
<a href="/participate">
{{t "participate"}}
</a>
</span>
<span>
<a href="/explore">
{{t "explore"}}
</a>
</span>
<span>
<a href="/participate">
{{t "participate"}}
</a>
</span>
</span>
<div id="nav_badges">

View file

@ -2,39 +2,42 @@
{{#if root}}
{{#with root}}
<a href="/people/{{author.guid}}">
<img src="{{author.avatar.small}}" class="avatar" />
</a>
<div class="media">
<div class="content">
<div class="post_initial_info">
<span class="from">
<a href="/people/{{author.guid}}">
{{#with root}}
<a href="/people/{{author.guid}}" class="img">
<img src="{{author.avatar.small}}" class="avatar" />
</a>
{{/with}}
{{#with root}}
<div class="bd">
<div>
<a href="/people/{{author.guid}}" class="author">
{{author.name}}
</a>
</span>
<span class="details">
-
<a href="/posts/{{id}}">
<time class="timeago" datetime="{{created_at}}"/>
</a>
</span>
<span class="details grey">
-
<a href="/posts/{{id}}">
<time class="timeago" datetime="{{created_at}}"/>
</a>
{{#if reshares_count}}
-
{{t "stream.reshares" count=reshares_count}}
{{/if}}
</div>
{{/with}}
{{#if reshares_count}}
-
{{t "stream.reshares" count=reshares_count}}
{{/if}}
</span>
</div>
{{/with}}
{{> status-message}}
</div>
{{> status-message}}
</div>
{{else}}
<p>
{{t "stream.original_post_deleted"}}
</p>

View file

@ -561,13 +561,7 @@ ul.as-selections
.stream_element .reshare
:padding
:left 10px
:border-left 2px solid #ddd
:margin
:top 5px
:bottom 10px
form.new_comment
input