mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
trombi: add dpt/option to export
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
d2fccdb09b
commit
c7f5203122
@ -13,11 +13,12 @@
|
|||||||
<div style="border: solid 1px grey; text-align: center; margin: 5px;">
|
<div style="border: solid 1px grey; text-align: center; margin: 5px;">
|
||||||
<div id="user_{{ trombi_user.id }}_infos">
|
<div id="user_{{ trombi_user.id }}_infos">
|
||||||
{{ trombi_user.user.get_display_name() }}<br>
|
{{ trombi_user.user.get_display_name() }}<br>
|
||||||
|
{{ trombi_user.user.department }}/{{ trombi_user.user.dpt_option }}<br>
|
||||||
|
{% trans %}Quote: {% endtrans %}{{ trombi_user.user.quote }}<br>
|
||||||
{% trans %}Date of birth: {% endtrans %}{{ trombi_user.user.date_of_birth|date("d/m/Y") }}<br>
|
{% trans %}Date of birth: {% endtrans %}{{ trombi_user.user.date_of_birth|date("d/m/Y") }}<br>
|
||||||
{% trans %}Email: {% endtrans %}{{ trombi_user.user.second_email }}<br>
|
{% trans %}Email: {% endtrans %}{{ trombi_user.user.second_email }}<br>
|
||||||
{% trans %}Phone: {% endtrans %}{{ trombi_user.user.phone }}<br>
|
{% trans %}Phone: {% endtrans %}{{ trombi_user.user.phone }}<br>
|
||||||
{% trans %}City: {% endtrans %}{{ trombi_user.user.parent_address }}<br>
|
{% trans %}City: {% endtrans %}{{ trombi_user.user.parent_address }}<br>
|
||||||
{% trans %}Quote: {% endtrans %}{{ trombi_user.user.quote }}<br>
|
|
||||||
</div>
|
</div>
|
||||||
<button onclick="copyToClipboard(document.getElementById('user_{{ trombi_user.id }}_infos'))">{% trans %}Copy{% endtrans %}</button>
|
<button onclick="copyToClipboard(document.getElementById('user_{{ trombi_user.id }}_infos'))">{% trans %}Copy{% endtrans %}</button>
|
||||||
|
|
||||||
@ -69,7 +70,7 @@
|
|||||||
<button onclick="copyToClipboard(document.getElementById('user_{{ trombi_user.id }}_clubs'))">{% trans %}Copy clubs{% endtrans %}</button>
|
<button onclick="copyToClipboard(document.getElementById('user_{{ trombi_user.id }}_clubs'))">{% trans %}Copy clubs{% endtrans %}</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h4>{% trans %}Comments{% endtrans %}</h4>
|
<h4>{% trans %}Comments{% endtrans %}</h4>
|
||||||
<div id="user_{{ trombi_user.id }}_coms" style="text-align: left">
|
<div id="user_{{ trombi_user.id }}_coms" style="text-align: left; word-wrap: break-word;">
|
||||||
{% for c in trombi_user.received_comments.filter(is_moderated=True) %}
|
{% for c in trombi_user.received_comments.filter(is_moderated=True) %}
|
||||||
<strong>{{ c.author.user.get_display_name() }}</strong><br>
|
<strong>{{ c.author.user.get_display_name() }}</strong><br>
|
||||||
{% for line in c.content.splitlines() %}
|
{% for line in c.content.splitlines() %}
|
||||||
|
Loading…
Reference in New Issue
Block a user