diff --git a/media/templates/media/aff_auteurs.html b/media/templates/media/aff_auteurs.html
index 1873cd2..12f04f8 100644
--- a/media/templates/media/aff_auteurs.html
+++ b/media/templates/media/aff_auteurs.html
@@ -36,8 +36,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% for auteur in auteurs_list %}
{{ auteur.nom }} |
- {% include 'buttons/edit.html' with href='media:edit-auteur' id=auteur.id %}
- {% include 'buttons/suppr.html' with href='media:del-auteur' id=auteur.id %}
+ | {% if is_perm %}{% include 'buttons/edit.html' with href='media:edit-auteur' id=auteur.id %}
+ {% include 'buttons/suppr.html' with href='media:del-auteur' id=auteur.id %}{% endif %}
{% include 'buttons/history.html' with href='media:history' name='auteur' id=auteur.id %} |
{% endfor %}
diff --git a/media/templates/media/aff_emprunts.html b/media/templates/media/aff_emprunts.html
index aa71fd1..43d49af 100644
--- a/media/templates/media/aff_emprunts.html
+++ b/media/templates/media/aff_emprunts.html
@@ -46,7 +46,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{{ emprunt.date_emprunt }} |
{{ emprunt.permanencier_emprunt }} |
- {% if not emprunt.date_rendu %} Retour{% else %}{{ emprunt.date_rendu }}{% endif %} |
+ {% if not emprunt.date_rendu %}{% if is_perm %} Retour{% endif %}{% else %}{{ emprunt.date_rendu }}{% endif %} |
{{ emprunt.permanencier_rendu }} |
@@ -57,8 +57,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|