Skip to content
Permalink
Browse files

UX: Add missing classes to user preferences

  • Loading branch information...
awesomerobot committed Jun 3, 2019
1 parent 969d6af commit 9a3dd6b59af0a5fc22045f376b421cb4fd074aad
@@ -47,18 +47,18 @@
<div class="control-group other">
<label class="control-label">{{i18n 'user.other_settings'}}</label>

{{preference-checkbox labelKey="user.external_links_in_new_tab" checked=model.user_option.external_links_in_new_tab}}
{{preference-checkbox labelKey="user.enable_quoting" checked=model.user_option.enable_quoting}}
{{preference-checkbox labelKey="user.enable_defer" checked=model.user_option.enable_defer}}
{{preference-checkbox labelKey="user.external_links_in_new_tab" checked=model.user_option.external_links_in_new_tab class="pref-external-links"}}
{{preference-checkbox labelKey="user.enable_quoting" checked=model.user_option.enable_quoting class="pref-enable-quoting"}}
{{preference-checkbox labelKey="user.enable_defer" checked=model.user_option.enable_defer class="pref-defer-undread"}}
{{#if siteSettings.automatically_unpin_topics}}
{{preference-checkbox labelKey="user.automatically_unpin_topics" checked=model.user_option.automatically_unpin_topics}}
{{preference-checkbox labelKey="user.automatically_unpin_topics" checked=model.user_option.automatically_unpin_topics class="pref-auto-unpin"}}
{{/if}}
{{preference-checkbox labelKey="user.hide_profile_and_presence" checked=model.user_option.hide_profile_and_presence}}
{{preference-checkbox labelKey="user.hide_profile_and_presence" checked=model.user_option.hide_profile_and_presence class="pref-hide-profile"}}
{{#if isiPad}}
{{preference-checkbox labelKey="user.enable_physical_keyboard" checked=disableSafariHacks}}
{{preference-checkbox labelKey="user.enable_physical_keyboard" checked=disableSafariHacks class="pref-safari-hacks"}}
{{/if}}
{{preference-checkbox labelKey="user.dynamic_favicon" checked=model.user_option.dynamic_favicon}}
<div class='controls controls-dropdown'>
{{preference-checkbox labelKey="user.dynamic_favicon" checked=model.user_option.dynamic_favicon class="pref-dynamic-favicon"}}
<div class='controls controls-dropdown pref-page-title'>
<label for="user-email-level">{{i18n 'user.title_count_mode.title'}}</label>
{{combo-box valueAttribute="value"
content=titleCountModes
@@ -1,5 +1,5 @@
<label class="control-label">{{i18n 'user.users'}}</label>
<div class="control-group">
<div class="control-group user-mute">
<div class="controls tracking-controls">
<label>
{{d-icon "d-muted" class="icon"}}
@@ -20,8 +20,8 @@
</div>

{{#if ignoredEnabled}}
<div class="control-group">
<div class="controls tracking-controls">
<div class="control-group user-ignore">
<div class="controls tracking-controls user-notifications">
<label>{{d-icon "eye-slash" class="icon"}} {{i18n 'user.ignored_users'}}</label>
{{ignored-user-list model=model items=model.ignored_usernames saving=saved}}
</div>

1 comment on commit 9a3dd6b

@discoursebot

This comment has been minimized.

Copy link

commented on 9a3dd6b Jun 3, 2019

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/is-there-a-way-to-disable-the-hide-my-public-profile-and-presence-features-profile-setting/100593/7

Please sign in to comment.
You can’t perform that action at this time.