SciPost Code Repository

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

Cleanup invs accessible to admin only

parent 55da44c4
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
{% block bodysup %} {% block bodysup %}
{% load scipost_extras %}
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
...@@ -33,7 +34,9 @@ ...@@ -33,7 +34,9 @@
<div class="flex-greybox"> <div class="flex-greybox">
<h1>Registration Invitations</h1> <h1>Registration Invitations</h1>
</div> </div>
{% if request.user|is_in_group:'SciPost Administrators' %}
<h3>Perform a <a href="{% url 'scipost:registration_invitations_cleanup' %}">cleanup</a> of existing invitations.</h3> <h3>Perform a <a href="{% url 'scipost:registration_invitations_cleanup' %}">cleanup</a> of existing invitations.</h3>
{% endif %}
</section> </section>
<hr class="hr12"/> <hr class="hr12"/>
<section> <section>
......
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