updated subcategory.tpl to match latest categories template

main
psychobunny 10 years ago
parent 140d9f78c7
commit 335193e76b

@ -25,30 +25,37 @@
<!-- IF !children.link --> <!-- IF !children.link -->
<div class="col-md-1 hidden-sm hidden-xs stats"> <div class="col-md-1 hidden-sm hidden-xs stats">
<span class="{children.unread-class}">{children.topic_count}</span><br /> <span class="{children.unread-class} human-readable-number" title="{children.topic_count}">{children.topic_count}</span><br />
<small>Topics</small> <small>[[global:topics]]</small>
</div> </div>
<div class="col-md-1 hidden-sm hidden-xs stats"> <div class="col-md-1 hidden-sm hidden-xs stats">
<span class="{children.unread-class}">{children.post_count}</span><br /> <span class="{children.unread-class} human-readable-number" title="{children.post_count}">{children.post_count}</span><br />
<small>Posts</small> <small>[[global:posts]]</small>
</div> </div>
<div class="col-md-3 col-sm-3 col-xs-1"> <div class="col-md-3 col-sm-3 col-xs-1">
<!-- BEGIN posts -->
<!-- IF @first -->
<div class="card" style="border-color: {children.bgColor}"> <div class="card" style="border-color: {children.bgColor}">
<!-- BEGIN posts -->
<!-- IF @first -->
<p> <p>
<strong>{children.posts.user.username}</strong> <small class="timeago" title="{children.posts.relativeTime}"></small> <strong>{children.posts.user.username}</strong> <small class="timeago" title="{children.posts.relativeTime}"></small>
</p> </p>
<div class="post-content"> <div class="post-content">
{children.posts.content} {children.posts.content}
</div> </div>
<!-- ENDIF @first -->
<!-- END posts -->
<!-- IF !posts.length -->
<div class="post-content">
No new posts.
</div>
<!-- ENDIF !posts.length -->
</div> </div>
<!-- ENDIF @first -->
<!-- END posts -->
</div> </div>
<!-- ELSE --> <!-- ELSE -->
<div class="col-md-4"> <div class="col-md-2 hidden-sm-hidden-xs"></div>
<div class="col-md-3 col-sm-3 col-xs-1">
<div class="card" style="border-color: {children.bgColor}"></div>
</div> </div>
<!-- ENDIF !children.link --> <!-- ENDIF !children.link -->
</li> </li>

Loading…
Cancel
Save