UX: add link to watched topics from prefs page

This commit is contained in:
Sam 2016-06-15 12:38:47 +10:00
parent 4cd19ee26e
commit 84a1b863a6
3 changed files with 7 additions and 0 deletions

View File

@ -94,6 +94,8 @@ const User = RestModel.extend({
mutedTopicsPath: url('/latest?state=muted'),
watchingTopicsPath: url('/latest?state=watching'),
@computed("username")
username_lower(username) {
return username.toLowerCase();

View File

@ -255,6 +255,10 @@
{{category-group categories=model.watchedCategories blacklist=selectedCategories}}
</div>
<div class="instructions">{{i18n 'user.watched_categories_instructions'}}</div>
<div class="controls category-controls">
<a href="{{unbound model.watchingTopicsPath}}">{{i18n 'user.watched_topics_link'}}</a>
</div>
<div class="instructions"></div>
<div class="controls category-controls">
<label><span class="icon fa fa-circle tracking"></span> {{i18n 'user.tracked_categories'}}</label>
{{category-group categories=model.trackedCategories blacklist=selectedCategories}}

View File

@ -535,6 +535,7 @@ en:
muted_users: "Muted"
muted_users_instructions: "Suppress all notifications from these users."
muted_topics_link: "Show muted topics"
watched_topics_link: "Show watched topics"
automatically_unpin_topics: "Automatically unpin topics when I reach the bottom."
staff_counters: