projects
/
chloro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add basic views to create/edit/delete notes
[chloro.git]
/
chloro
/
phyll
/
templates
/
phyll
/
note_detail.html
diff --git
a/chloro/phyll/templates/phyll/note_detail.html
b/chloro/phyll/templates/phyll/note_detail.html
index 4abf3af256902ea60853c30cbbb52954f93026d7..f9d1b0101a60dacc909f22bb12c5a043c024c3f9 100644
(file)
--- a/
chloro/phyll/templates/phyll/note_detail.html
+++ b/
chloro/phyll/templates/phyll/note_detail.html
@@
-1,8
+1,12
@@
{% extends "phyll/base.html" %}
{% extends "phyll/base.html" %}
+{% load i18n %}
{% block body %}
<h1>{{ object.title }}</h1>
{% block body %}
<h1>{{ object.title }}</h1>
-
<div>{{ object.text|safe }}</div>
<div>{{ object.text|safe }}</div>
+{% endblock %}
+{% block bottom-actions %}
+<a href="edit/">{% trans "Edit" %}</a>
+<a href="delete/">{% trans "Delete" %}</a>
{% endblock %}
{% endblock %}