Node.js based forum software built for the modern web
fixed #915
Julian Lameff99ffabe6a
diff --git a/public/language/en_GB/recent.json b/public/language/en_GB/recent.jsonindex d868eb381a..654aa9977a 100644--- a/public/language/en_GB/recent.json+++ b/public/language/en_GB/recent.json@@ -1,4 +1,5 @@{+ "title": "Recent","day": "Day","week": "Week","month": "Month"diff --git a/public/language/en_GB/unread.json b/public/language/en_GB/unread.jsonindex f8d5ccfbc3..92abe978e9 100644--- a/public/language/en_GB/unread.json+++ b/public/language/en_GB/unread.json@@ -1,4 +1,5 @@{+ "title": "Unread","no_unread_topics": "There are no unread topics.","mark_all_read": "Mark all as Read","load_more": "Load More"diff --git a/public/templates/outgoing.tpl b/public/templates/outgoing.tplindex 6c6d8d9e0f..e6b8af32b6 100644--- a/public/templates/outgoing.tpl+++ b/public/templates/outgoing.tpl@@ -1,7 +1,7 @@<div class="outgoing"><ol class="breadcrumb"><li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">- <a href="{relative_path}/" itemprop="url"><span itemprop="title">Home</span></a>+ <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a></li><li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title">[[notifications:outgoing_link]]</span>diff --git a/public/templates/popular.tpl b/public/templates/popular.tplindex d26975466e..391cf8b41d 100644--- a/public/templates/popular.tpl+++ b/public/templates/popular.tpl@@ -1,5 +1,5 @@<ol class="breadcrumb">- <li><a href="{relative_path}/">Home</a></li>+ <li><a href="{relative_path}/">[[global:home]]</a></li><li class="active">[[global:header.popular]] <a href="{relative_path}/popular.rss"><i class="fa fa-rss-square"></i></a></li></ol>diff --git a/public/templates/recent.tpl b/public/templates/recent.tplindex 000cbe64e1..ed2eb7285d 100644--- a/public/templates/recent.tpl+++ b/public/templates/recent.tpl@@ -1,6 +1,6 @@<ol class="breadcrumb">- <li><a href="{relative_path}/">Home</a></li>- <li class="active">Recent <a href="{relative_path}/recent.rss"><i class="fa fa-rss-square"></i></a></li>+ <li><a href="{relative_path}/">[[global:home]]</a></li>+ <li class="active">[[recent:title]] <a href="{relative_path}/recent.rss"><i class="fa fa-rss-square"></i></a></li></ol><ul class="nav nav-pills">diff --git a/public/templates/unread.tpl b/public/templates/unread.tplindex 36874fd2b8..b725361503 100644--- a/public/templates/unread.tpl+++ b/public/templates/unread.tpl@@ -1,7 +1,7 @@<div class="unread"><ol class="breadcrumb"><li><a href="{relative_path}/">[[global:home]]</a></li>- <li class="active">{category_name}</li>+ <li class="active">[[unread:title]]</li></ol><div class="alert alert-warning {no_topics_message}" id="category-no-topics">diff --git a/src/topics.js b/src/topics.jsindex 147447adf9..99fa141625 100644--- a/src/topics.js+++ b/src/topics.js@@ -589,7 +589,6 @@ var async = require('async'),Topics.getUnreadTopics = function(uid, start, stop, callback) {var unreadTopics = {- 'category_name': 'Unread','show_sidebar': 'hidden','show_topic_button': 'hidden','show_markallread_button': 'show',