diff --git a/app/assets/javascripts/discourse/templates/preferences/categories.hbs b/app/assets/javascripts/discourse/templates/preferences/categories.hbs index aaf5572a220..e264ef11375 100644 --- a/app/assets/javascripts/discourse/templates/preferences/categories.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/categories.hbs @@ -3,25 +3,23 @@
+ {{#if canSee}} + {{i18n 'user.tracked_topics_link'}} + {{/if}} {{category-selector categories=model.watchedCategories blacklist=selectedCategories}}
{{i18n 'user.watched_categories_instructions'}}
- {{#if canSee}} -
- {{i18n 'user.watched_topics_link'}} -
- {{/if}} +
+ {{#if canSee}} + {{i18n 'user.tracked_topics_link'}} + {{/if}} {{category-selector categories=model.trackedCategories blacklist=selectedCategories}}
{{i18n 'user.tracked_categories_instructions'}}
- {{#if canSee}} -
- {{i18n 'user.tracked_topics_link'}} -
- {{/if}} +
@@ -31,14 +29,12 @@
+ {{#if canSee}} + {{i18n 'user.tracked_topics_link'}} + {{/if}} {{category-selector categories=model.mutedCategories blacklist=selectedCategories}}
{{i18n (if hideMutedTags 'user.muted_categories_instructions' 'user.muted_categories_instructions_dont_hide')}}
- {{#if canSee}} -
- {{i18n 'user.muted_topics_link'}} -
- {{/if}}
{{plugin-outlet name="user-preferences-categories" args=(hash model=model save=(action "save"))}} diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss index 7fb618214e9..a4dcbdf3acf 100644 --- a/app/assets/stylesheets/common/base/user.scss +++ b/app/assets/stylesheets/common/base/user.scss @@ -546,10 +546,19 @@ .tracking-controls { label { align-items: center; + display: inline-block; .d-icon { margin-right: 3px; } } + .select-kit.multi-select { + @include breakpoint(mobile) { + width: 100%; + } + } + .show-tracking { + float: right; + } } .static { diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 06da3d7c24f..6e20a945e0a 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -868,9 +868,7 @@ en: muted_users_instructions: "Suppress all notifications from these users." ignored_users: "Ignored" ignored_users_instructions: "Suppress all posts and notifications from these users." - muted_topics_link: "Show muted topics" - watched_topics_link: "Show watched topics" - tracked_topics_link: "Show tracked topics" + tracked_topics_link: "Show" automatically_unpin_topics: "Automatically unpin topics when I reach the bottom." apps: "Apps" revoke_access: "Revoke Access"