]> cat aescling's git repositories - mastodon.git/commit
Add headings to the security settings page (#6661)
authorSylvhem <Sylvhem@users.noreply.github.com>
Wed, 7 Mar 2018 00:39:40 +0000 (01:39 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 7 Mar 2018 00:39:40 +0000 (01:39 +0100)
commitcb74c0cfe4aa89f9656c054253665ef4965b41df
treedb6f208400b2a514bd431744182421e18908e2cc
parentb725924f0a2254d6d7799f7558a9f6680ff6134f
Add headings to the security settings page (#6661)

* Changes the headings' rank of the security settings section

This commit changes the existing headings' rank of the security settings section from level 6 to level 4.

* Renames the auth.change_password string into auth.security

The "Security" preferences' section used to be called "Change password". When it was renamed, the string name wasn't changed.
This commits changes auth.change_password to auth.security.

* Adds a heading to the password change form

There was previously no heading for the part of the "Security" page that contain the password change form.
This commit adds a rank 4 heading to this section and reintroduces an "auth.change_password" string to be used inside it.

* Removes useless HR elements

The various sections of the "Security" settings page were previously separated by HR elements.
Now that there is proper headings, they're not required anymore.

* Updates CSS

This commit updates CSS in such a way that the same style is applied to all the H4 elements of the settings.

* Correct a mistake

A character went missing on one of the previous commits, broking the CSS.
This new commit fixes it.
41 files changed:
app/javascript/styles/mastodon/admin.scss
app/javascript/styles/mastodon/forms.scss
app/views/auth/registrations/_sessions.html.haml
app/views/auth/registrations/edit.html.haml
config/locales/ar.yml
config/locales/bg.yml
config/locales/ca.yml
config/locales/de.yml
config/locales/en.yml
config/locales/eo.yml
config/locales/es.yml
config/locales/fa.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hr.yml
config/locales/hu.yml
config/locales/id.yml
config/locales/io.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/oc.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sr-Latn.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/zh-CN.yml
config/locales/zh-HK.yml
config/locales/zh-TW.yml
config/navigation.rb