]> git.0d.be Git - chloro.git/blobdiff - chloro/rdio/templates/phyll/note_detail.html
maintain interlinks
[chloro.git] / chloro / rdio / templates / phyll / note_detail.html
index 4858f4c13a1453983bc561807499d9854b5956a8..d231fa3b38d944dc377fb29141dcce5993b234bc 100644 (file)
 <div class="meta">Dernière modification : {{ object.last_update_timestamp|date:"j E Y, H:i"|lower }}</div>
 </article>
 
+{% if object.linking_note.all.exists %}
+<p id="backlinks">Pages pointant sur celle-ci :
+{% for interlink in object.linking_note.all %}
+<a href="{{interlink.note1.get_absolute_url}}">{{ interlink.note1.title }}</a>
+{% if not forloop.last %} - {% endif %}
+{% endfor %}</p>
+{% endif %}
+
 {% if request.user.is_staff %}
 {% csrf_token %}
 <div id="quickedit">