Added possibility to edit and view the aboutMe information of users

This commit is contained in:
Jan Böhmer 2023-04-02 20:26:42 +02:00
parent 047c82791b
commit 065417038c
7 changed files with 57 additions and 0 deletions

View file

@ -22,6 +22,7 @@
{{ form_row(form.last_name) }}
{{ form_row(form.email) }}
{{ form_row(form.department) }}
{{ form_row(form.aboutMe) }}
{% endblock %}
{% block additional_panes %}

View file

@ -64,6 +64,11 @@
{% endif %}
</div>
</div>
{% if user.aboutMe is not empty %}
<hr>
<h5>{% trans %}user.aboutMe.label{% endtrans %}</h5>
{{ user.aboutMe | format_markdown }}
{% endif %}
</div>
{% endblock %}

View file

@ -34,6 +34,7 @@
{{ form_widget(settings_form.remove_avatar) }}
</div>
</div>
{{ form_row(settings_form.aboutMe) }}
</div>
<div class="tab-pane fade" id="configuration" role="tabpanel" aria-labelledby="profile-tab">
{{ form_row(settings_form.language) }}