Limit import/export links to change student perm owners

This commit is contained in:
Claude Paroz 2019-02-21 10:28:33 +01:00
parent c8cce83aa3
commit 69cbfa3bb0

View file

@ -87,6 +87,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
</div>
{% endif %}
{% if perms.stages.change_student %}
<div class="module" id="custom-actions-module">
<h2>Importation/exportation</h2>
<ul>
@ -103,6 +104,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
<li><a href="{% url 'ortra-export' %}">Exportation pour ORTRA</a></li>
</ul>
</div>
{% endif %}
</div>
{% endblock %}