mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-01 08:44:48 +02:00
Added possibility to edit and view the aboutMe information of users
This commit is contained in:
parent
047c82791b
commit
065417038c
7 changed files with 57 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue