UX: Swap ignore and mute sections to move the 'Save changes' button to the bottom

This commit is contained in:
romanrizzi 2019-07-15 17:30:01 -03:00
parent 8a525cafec
commit 12e71f1fb2
1 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,13 @@
<label class="control-label">{{i18n 'user.users'}}</label>
{{#if ignoredEnabled}}
<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>
</div>
{{/if}}
<div class="control-group user-mute">
<div class="controls tracking-controls">
<label>
@ -17,12 +26,3 @@
{{partial 'user/preferences/save-button'}}
</div>
</div>
{{#if ignoredEnabled}}
<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>
</div>
{{/if}}