FIX: Raw mobile view broken

This commit is contained in:
Robin Ward 2016-05-04 18:13:18 -04:00
parent 3220f9e3cc
commit 34670c2c4f
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D

View File

@ -1,29 +1,29 @@
<td>
{{~#unless content.hasExcerpt}}
{{~#unless topic.hasExcerpt}}
<div class='pull-left'>
<a href="{{content.lastPostUrl}}">{{avatar content.lastPoster imageSize="large"}}</a>
<a href="{{topic.lastPostUrl}}">{{avatar topic.lastPoster imageSize="large"}}</a>
</div>
<div class='right'>
{{else}}
<div>
{{/unless~}}
<div class='main-link'>
{{raw "topic-status" topic=content}}
{{topic-link content}}
{{#if content.unseen}}
{{raw "topic-status" topic=topic}}
{{topic-link topic}}
{{#if topic.unseen}}
<span class="badge-notification new-topic"></span>
{{/if}}
{{raw "list/topic-excerpt" topic=content}}
{{raw "list/topic-excerpt" topic=topic}}
</div>
<div class='pull-right'>
{{raw "list/post-count-or-badges" topic=content postBadgesEnabled=controller.showTopicPostBadges}}
{{raw "list/post-count-or-badges" topic=topic postBadgesEnabled=controller.showTopicPostBadges}}
</div>
<div class="topic-item-stats clearfix">
{{#unless controller.hideCategory}}
<div class='category'>
{{category-link content.category}}
{{category-link topic.category}}
</div>
{{/unless}}
@ -39,7 +39,7 @@
<div class="pull-right">
<div class='num activity last'>
<span class="age activity" title="{{content.bumpedAtTitle}}"><a href="{{content.lastPostUrl}}">{{format-date content.bumpedAt format="tiny" noTitle="true"}}</a></span>
<span class="age activity" title="{{topic.bumpedAtTitle}}"><a href="{{topic.lastPostUrl}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a></span>
</div>
</div>