]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/note_detail.html
add note title in page <title>
[chloro.git] / chloro / phyll / templates / phyll / note_detail.html
index 4abf3af256902ea60853c30cbbb52954f93026d7..240929be09603a8ab27fc792929111c373689a40 100644 (file)
@@ -1,8 +1,19 @@
 {% extends "phyll/base.html" %}
+{% load i18n %}
 
-{% block body %}
-<h1>{{ object.title }}</h1>
+{% block content-class %}post{% endblock %}
+{% block page-title %}{{ object.title }} - {{ block.super }}{% 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 %}