SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e6706632 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

feat: :sparkles: add red flags icon next to pool item

parent 3c7de1f0
No related branches found
No related tags found
No related merge requests found
{% if object.red_flags.all %}
<span class="text-danger" data-bs-toggle="tooltip" data-bs-html="true" title='
<div class="p-2">
{% for flag in object.red_flags.all %}
<div class="text-danger"> {{ flag.description }}</div>
{% endfor %}
</div>'>
{% include 'bi/flag.html' %}
</span>
{% endif %}
\ No newline at end of file
...@@ -18,11 +18,17 @@ ...@@ -18,11 +18,17 @@
<tbody> <tbody>
<tr> <tr>
<td> <td>
{% if "edadmin" in user_roles %}
{% include "ethics/_hover_red_flags.html" with object=submission %}
{% endif %}
<strong class="text-primary">{{ submission.title }}</strong> <strong class="text-primary">{{ submission.title }}</strong>
</td> </td>
</tr> </tr>
<tr class="mt-1"> <tr class="mt-1">
<td> <td>
{% if "edadmin" in user_roles %}
{% include "ethics/_hover_red_flags.html" with object=submission.submitted_by.profile %}
{% endif %}
<strong><em>by {{ submission.author_list }}</em></strong> <strong><em>by {{ submission.author_list }}</em></strong>
</td> </td>
</tr> </tr>
......
<svg xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="currentColor"
viewBox="0 0 448 512">
<!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.-->
<path d="M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32L0 64 0 368 0 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 64.3-16.1c41.1-10.3 84.6-5.5 122.5 13.4c44.2 22.1 95.5 24.8 141.7 7.4l34.7-13c12.5-4.7 20.8-16.6 20.8-30l0-247.7c0-23-24.2-38-44.8-27.7l-9.6 4.8c-46.3 23.2-100.8 23.2-147.1 0c-35.1-17.6-75.4-22-113.5-12.5L64 48l0-16z" />
</svg>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment