fix for category view when its empty

This commit is contained in:
Baris Usakli
2013-08-19 14:28:51 -04:00
parent b844251587
commit c05f56d28c
5 changed files with 18 additions and 10 deletions

View File

@@ -226,7 +226,8 @@ var RDB = require('./redis.js'),
postData.content = postTools.markdownToHTML(postData.content);
postData.post_rep = 0;
postData.relativeTime = utils.relativeTime(postData.timestamp)
postData.relativeTime = utils.relativeTime(postData.timestamp);
postData.fav_button_class = '';
postData.fav_star_class = 'icon-star-empty';
postData['edited-class'] = 'none';
postData.show_banned = 'hide';