mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:33:17 +08:00
UX: add link to watched topics from prefs page
This commit is contained in:
parent
4cd19ee26e
commit
84a1b863a6
|
@ -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();
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user