mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
trombi: change comments format in export
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
c7f5203122
commit
3a16c7aab4
@ -70,15 +70,20 @@
|
||||
<button onclick="copyToClipboard(document.getElementById('user_{{ trombi_user.id }}_clubs'))">{% trans %}Copy clubs{% endtrans %}</button>
|
||||
{% endif %}
|
||||
<h4>{% trans %}Comments{% endtrans %}</h4>
|
||||
<div id="user_{{ trombi_user.id }}_coms" style="text-align: left; word-wrap: break-word;">
|
||||
<table id="user_{{ trombi_user.id }}_coms" style="text-align: left; word-wrap: break-word;">
|
||||
<tbody>
|
||||
{% for c in trombi_user.received_comments.filter(is_moderated=True) %}
|
||||
<strong>{{ c.author.user.get_display_name() }}</strong><br>
|
||||
<tr>
|
||||
<td>{{ c.author.user.get_display_name() }}</td>
|
||||
<td>
|
||||
{% for line in c.content.splitlines() %}
|
||||
{{ line }}<br>
|
||||
{% endfor %}
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
<button onclick="copyToClipboard(document.getElementById('user_{{ trombi_user.id }}_coms'))">{% trans %}Copy comments{% endtrans %}</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user