]> git.0d.be Git - chloro.git/blob - chloro/phyll/templates/phyll/note_detail.html
do not include non-feed posts on homepage
[chloro.git] / chloro / phyll / templates / phyll / note_detail.html
1 {% extends "phyll/base.html" %}
2 {% load i18n %}
3
4 {% block html-lang %}{{ object.lang }}{% endblock %}
5 {% block content-class %}post{% endblock %}
6 {% block page-title %}{{ object.title }} - {{ block.super }}{% endblock %}
7
8 {% block body %}
9 <article>
10 <h2>{{ object.title }}</h2>
11 <div {% if request.user.is_staff %}contenteditable="true"{% endif %}>{{ object.text|safe }}</div>
12 {% if request.user.is_staff %}
13 {% csrf_token %}<button id="save">{% trans "Save" %}</button>
14 {% endif %}
15
16 <div class="meta">{{ object.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
17 </article>
18 {% endblock %}
19
20 {% block bottom-actions %}
21 <a href="edit/">{% trans "Edit" %}</a>
22 <a href="delete/">{% trans "Delete" %}</a>
23 {% endblock %}