Add education panel for starred tab
This commit is contained in:
parent
1ddedc6ed7
commit
0db66d3a18
|
@ -153,7 +153,7 @@ var controllerOpts = {
|
||||||
|
|
||||||
var split = this.get('filter').split('/');
|
var split = this.get('filter').split('/');
|
||||||
|
|
||||||
if (split[0] !== 'new' && split[0] !== 'unread') { return; }
|
if (split[0] !== 'new' && split[0] !== 'unread' && split[0] !== 'starred') { return; }
|
||||||
|
|
||||||
return I18n.t("topics.none.educate." + split[0], {
|
return I18n.t("topics.none.educate." + split[0], {
|
||||||
userPrefsUrl: Discourse.getURL("/users/") + (Discourse.User.currentProp("username_lower")) + "/preferences"
|
userPrefsUrl: Discourse.getURL("/users/") + (Discourse.User.currentProp("username_lower")) + "/preferences"
|
||||||
|
|
|
@ -781,6 +781,7 @@ en:
|
||||||
educate:
|
educate:
|
||||||
new: '<p>By default, topics are considered new when they were created in the last 2 days.</p><p>You can change this in your <a href="%{userPrefsUrl}">preferences</a>.</p>'
|
new: '<p>By default, topics are considered new when they were created in the last 2 days.</p><p>You can change this in your <a href="%{userPrefsUrl}">preferences</a>.</p>'
|
||||||
unread: '<p>By default, unread indicators will only appear for topics that you have:</p><ul><li>Created</li><li>Replied to</li><li>Read for more than 4 minutes</li></ul><p>Or, if you have explicitly set the topic to Tracked or Watched via the notification control at the bottom of each topic.</p><p>You can change this in your <a href="%{userPrefsUrl}">preferences</a>.</p>'
|
unread: '<p>By default, unread indicators will only appear for topics that you have:</p><ul><li>Created</li><li>Replied to</li><li>Read for more than 4 minutes</li></ul><p>Or, if you have explicitly set the topic to Tracked or Watched via the notification control at the bottom of each topic.</p><p>You can change this in your <a href="%{userPrefsUrl}">preferences</a>.</p>'
|
||||||
|
starred: '<p>Topics that you have starred will appear here.</p>'
|
||||||
bottom:
|
bottom:
|
||||||
latest: "There are no more latest topics."
|
latest: "There are no more latest topics."
|
||||||
hot: "There are no more hot topics."
|
hot: "There are no more hot topics."
|
||||||
|
|
Loading…
Reference in New Issue