]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/note_detail.html
templates: display publication time
[chloro.git] / chloro / phyll / templates / phyll / note_detail.html
index 4abf3af256902ea60853c30cbbb52954f93026d7..4c919c210dc846e07a21189e81fc3e0dee33c907 100644 (file)
@@ -1,8 +1,18 @@
 {% extends "phyll/base.html" %}
+{% load i18n %}
 
-{% block body %}
-<h1>{{ object.title }}</h1>
+{% block content-class %}post{% endblock %}
 
+{% block body %}
+<div>
+<h2>{{ object.title }}</h2>
 <div>{{ object.text|safe }}</div>
 
+<div class="meta">{{ object.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
+</div>
+{% endblock %}
+
+{% block bottom-actions %}
+<a href="edit/">{% trans "Edit" %}</a>
+<a href="delete/">{% trans "Delete" %}</a>
 {% endblock %}