mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 18:01:51 +02:00
closes #105
This commit is contained in:
@@ -14,6 +14,21 @@
|
||||
<strong>There are no topics in this category.</strong><br />
|
||||
Why don't you try posting one?
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
<button id="new_post" class="btn btn-primary btn-large {show_topic_button}">New Topic</button>
|
||||
|
||||
<div class="inline-block pull-right">
|
||||
<a target="_blank" href="../{category_id}.rss"><i class="icon-rss-sign icon-2x"></i></a>
|
||||
<a href="#" id="facebook-share"><i class="icon-facebook-sign icon-2x"></i></a>
|
||||
<a href="#" id="twitter-intent"><i class="icon-twitter-sign icon-2x"></i></a>
|
||||
<a href="#" id="google-share"><i class="icon-google-plus-sign icon-2x"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="{show_sidebar}" />
|
||||
|
||||
<div class="category row">
|
||||
<div class="{topic_row_size}">
|
||||
<ul id="topics-container">
|
||||
@@ -47,18 +62,9 @@
|
||||
</li></a>
|
||||
<!-- END topics -->
|
||||
</ul>
|
||||
<hr class="{show_sidebar}" />
|
||||
<button id="new_post" class="btn btn-primary btn-large {show_topic_button}">New Topic</button>
|
||||
</div>
|
||||
<div class="span3 {show_sidebar} category-sidebar mobile-sidebar">
|
||||
<div class="sidebar-block img-polaroid">
|
||||
<div class="block-header">
|
||||
<a target="_blank" href="../{category_id}.rss"><i class="icon-rss-sign icon-2x"></i></a>
|
||||
<a href="#" id="facebook-share"><i class="icon-facebook-sign icon-2x"></i></a>
|
||||
<a href="#" id="twitter-intent"><i class="icon-twitter-sign icon-2x"></i></a>
|
||||
<a href="#" id="google-share"><i class="icon-google-plus-sign icon-2x"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-block img-polaroid">
|
||||
<div class="block-header">
|
||||
Recent Replies
|
||||
|
||||
@@ -29,7 +29,7 @@ var RDB = require('./redis.js'),
|
||||
var categoryData = {
|
||||
'category_name' : category_name,
|
||||
'show_sidebar' : 'show',
|
||||
'show_topic_button': 'show',
|
||||
'show_topic_button': 'inline-block',
|
||||
'no_topics_message': 'hidden',
|
||||
'topic_row_size': 'span9',
|
||||
'category_id': category_id,
|
||||
|
||||
Reference in New Issue
Block a user