# HG changeset patch # User durandn # Date 1469609698 -7200 # Node ID c600162cc2cde167dab58f7c5f75ebafe5ca9c1d # Parent 9675cdd079dfdc91df7910ecdefbb31494d7eb2c Work on parent lists presentation on revision detail diff -r 9675cdd079df -r c600162cc2cd src/iconolab/templates/iconolab/detail_revision.html --- a/src/iconolab/templates/iconolab/detail_revision.html Tue Jul 26 14:37:43 2016 +0200 +++ b/src/iconolab/templates/iconolab/detail_revision.html Wed Jul 27 10:54:58 2016 +0200 @@ -27,9 +27,7 @@
Revoir l'image
Retour sur l'annotation
- {% if revision.parent_revision %} Voir {% if revision.merge_parent_revision %}première {% endif %}révision précédente
{% endif %} - {% if revision.merge_parent_revision %} Voir seconde révision précédente
{% endif %} - +

Annotation révisée par {{ revision.author.username}}

Title: {{ revision.title }}

@@ -43,6 +41,23 @@ Révision par {{ revision.author }} le {{ revision.created|date:"d/m/Y" }} à {{ revision.created|time:"H:i" }}
{{ revision.creation_comment.first.comment }}
+ {% if revision.parent_revision %} + + + {% endif %} {% if revision.state == 0 and user == annotation.author %}