Profile edit: Add rows to fix layout

This commit is contained in:
Igor Scheller 2023-04-01 18:15:29 +02:00
parent ca6e0813ba
commit 24765902a2
3 changed files with 21 additions and 15 deletions

View File

@ -2950,11 +2950,8 @@ msgstr "Nachricht"
msgid "settings.settings"
msgstr "Einstellungen"
msgid "settings.profile.user_details.info"
msgstr "Hier kannst Du Deine Details ändern."
msgid "settings.profile.entry_required"
msgstr "Pflichtfeld!"
msgstr "Pflichtfeld"
msgid "settings.profile.nick"
msgstr "Nick"

View File

@ -223,11 +223,8 @@ msgstr "Message"
msgid "settings.settings"
msgstr "Settings"
msgid "settings.profile.user_details.info"
msgstr "Here you can change your user details."
msgid "settings.profile.entry_required"
msgstr "Entry required!"
msgstr "Entry required"
msgid "settings.profile.nick"
msgstr "Nick"

View File

@ -14,9 +14,9 @@
{{ f.entry_required() }} = {{ __('settings.profile.entry_required') }}
</strong>
</div>
<div class="col-12">
{{ m.info(__('settings.profile.user_details.info')) }}
</div>
</div>
<div class="row g-4">
<div class="col-lg-6">
{{ f.input(
'nick',
@ -36,7 +36,10 @@
{{ m.info(__('settings.profile.pronoun.info')) }}
</div>
{% endif %}
{% if config('enable_user_name') %}
</div>
{% if config('enable_user_name') %}
<div class="row g-4">
<div class="col-sm-6">
{{ f.input(
'first_name',
@ -53,9 +56,11 @@
{'value': user.personalData.last_name, 'max_length': 64}
) }}
</div>
{% endif %}
</div>
{% endif %}
{% if config('enable_planned_arrival') %}
{% if config('enable_planned_arrival') %}
<div class="row g-4">
<div class="col-sm-6">
{{ f.input(
'planned_arrival_date',
@ -83,8 +88,10 @@
}
) }}
</div>
{% endif %}
</div>
{% endif %}
<div class="row g-4">
{% if config('enable_dect') %}
<div class="col-md-6">
{{ f.input(
@ -110,6 +117,9 @@
) }}
{% endif %}
</div>
</div>
<div class="row g-4">
<div class="col-md-6">
{{ f.input(
'email',
@ -155,7 +165,9 @@
) }}
{% endif %}
</div>
</div>
<div class="row g-4">
{% if goodie_tshirt %}
<div class="col-12">
{{ f.select(