mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:42:16 +08:00
UX: Add missing classes to user preferences
This commit is contained in:
parent
969d6af88e
commit
9a3dd6b59a
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user