fixing timestamps in category view (topics listing) for noscript

v1.18.x
Julian Lam 11 years ago
parent 8243019a60
commit 3eb594df43

@ -6,11 +6,12 @@
<ul class="topics"> <ul class="topics">
<!-- BEGIN topics --> <!-- BEGIN topics -->
<li> <li>
<span class="timestamp">{topics.teaser_timestamp}</span>
<a href="../../topic/{topics.slug}">{topics.title} ({topics.postcount})</a> <a href="../../topic/{topics.slug}">{topics.title} ({topics.postcount})</a>
<div class="teaser"> <div class="teaser">
<img class="img-thumbnail" src="{topics.teaser_userpicture}" /> <img class="img-thumbnail" src="{topics.teaser_userpicture}" />
<p> <p>
{topics.teaser_text} &mdash; {topics.teaser_timestamp} ago {topics.teaser_text}
</p> </p>
<div class="clear"></div> <div class="clear"></div>
</div> </div>

@ -32,6 +32,13 @@ noscript {
.default; .default;
} }
.timestamp {
float: right;
color: #999;
font-style: italic;
font-size: 12px;
}
.teaser { .teaser {
margin-left: 16px; margin-left: 16px;
margin-top: 8px; margin-top: 8px;

Loading…
Cancel
Save