SciPost Code Repository

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

show fellow workload indicator only to privileged users

parent ccdad60d
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,6 @@
<span class="text-primary">Regular</span>
{% endif %}
`
</td>
</tr>
</tbody>
......@@ -194,11 +193,16 @@
<div class="highlight d-flex justify-content-between p-2">
<h3 class="m-0 ">Assignments</h3>
<h5 class="m-0 ms-3 pe-2">
Workload indicator
{% include "icons/reception.html" with value=fellowship.contributor.editorial_assignments.ongoing.count max=4 %}
</h5>
{% if "edadmin" in user_roles or "active_senior_fellow" in user_roles %}
<h5 class="m-0 ms-3 pe-2">
Workload indicator
{% include "icons/reception.html" with value=fellowship.contributor.editorial_assignments.ongoing.count max=4 %}
</h5>
{% endif %}
</div>
<div class="row">
<div class="col-12">
<h4>Ongoing:</h4>
......@@ -217,6 +221,7 @@
<li class="list-group-item">No ongoing assignments</li>
{% endfor %}
</ul>
</div>
......@@ -238,6 +243,7 @@
<li class="list-group-item">No completed assignments</li>
{% endfor %}
</ul>
</div>
</div>
......@@ -271,6 +277,7 @@
</tr>
{% endfor %}
<tr>
<td colspan="3" class="py-3 text-center">
<a href="{% url 'colleges:fellowship_add_submission' fellowship.id %}">Add Submission to this Fellowship's pool</a>
......
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