Dénote

Dénote Git Source Tree

Root/denote/templates/public_notes.html

1{% extends "base.html" %}
2
3{% block left %}
4{% for note in public_notes %}
5<div id="categories">
6 <div class="note">
7 <a href="/note/{{ note.author.id}}/{{ note.id }}"><div class="title">{{ note.title }}</div></a>
8 <div class="date">{{ note.created_date }}</div>
9 <div class="summary">{{ note.short_summary }}</div>
10 </div>
11</div>
12{% endfor %}
13{% endblock %}
14
15{% block content %}
16{% for note in notes %}
17<div class="note">
18 <div class="title"><a href="/note/{{ note.author.id }}/{{ note.id }}">{{ note.title }}</a></div>
19 <div class="date">{{ note.modified_date }}</div>
20 <div class="summary">{{ note.long_summary }}</div>
21</div>
22{% endfor %}
23{% if notes|length == 0 %}
24<b>Any note</b>
25{% endif %}
26{% endblock %}

Archive Download this file

Branches

Tags