]> git.0d.be Git - chloro.git/commitdiff
move edit box out of <article>
authorFrédéric Péters <fpeters@0d.be>
Sat, 23 Jul 2022 18:53:02 +0000 (20:53 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 23 Jul 2022 19:09:14 +0000 (21:09 +0200)
chloro/rdio/templates/phyll/note_detail.html

index 9dbd1d75f5470367c30c6f31dfc772d105371232..4858f4c13a1453983bc561807499d9854b5956a8 100644 (file)
@@ -9,6 +9,10 @@
 <article>
 <h1>{{ object.title }}</h1>
 <div {% if request.user.is_staff %}data-editable="true"{% endif %}>{{ object.text|safe }}</div>
+
+<div class="meta">Dernière modification : {{ object.last_update_timestamp|date:"j E Y, H:i"|lower }}</div>
+</article>
+
 {% if request.user.is_staff %}
 {% csrf_token %}
 <div id="quickedit">
@@ -16,8 +20,6 @@
 </div>
 {% endif %}
 
-<div class="meta">Dernière modification : {{ object.last_update_timestamp|date:"j E Y, H:i"|lower }}</div>
-</article>
 {% endblock %}
 
 {% block bottom-actions %}