SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 58843f83 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Mark Fellow seniority on personal page

parent 0b3ba099
No related branches found
No related tags found
No related merge requests found
......@@ -129,18 +129,20 @@
{{ fellowship.college }}
{% if fellowship.guest %}
(Guest Fellowship)
<br>
Your Proceedings:
<ul>
{% for proc in fellowship.proceedings.all %}
<li>{{ proc }}</li>
{% empty %}
<li><em>No proceedings assigned yet.</em></li>
{% endfor %}
</ul>
(Guest Fellowship)
<br>
Your Proceedings:
<ul>
{% for proc in fellowship.proceedings.all %}
<li>{{ proc }}</li>
{% empty %}
<li><em>No proceedings assigned yet.</em></li>
{% endfor %}
</ul>
{% elif fellowship.senior %}
(Senior Fellowship)
{% else %}
(Regular Fellowship)
(Regular Fellowship)
{% endif %}
{% if not fellowship.is_active %}
......
......@@ -13,7 +13,7 @@ from .models import Submission
class FriendlyPermissionMixin(PermissionRequiredMixin):
"""
This mixin controls the permissions with a fallback for anonymous users
to help them login first. If a logged in user is refused, he will get the
to help them login first. If a logged in user is refused, they will get the
http 403 screen anyway.
:permission_required: The permission code the user should comply with.
......
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