Dénote

Dénote Git Source Tree

Root/denote/templates/user_index.html

1{% extends "base_user.html" %}
2
3{% block content %}
4{% for note in notes %}
5<div class="note">
6 {% if note.category != None %}
7 <div class="title"><a href="/note/{{ note.id}}" oncontextmenu="return DoEdit('{{ note.id}}');">{{ note.title }} [{{ note.category.name }}]</a></div>
8 {% else %}
9 <div class="title"><a href="/note/{{ note.id}}" oncontextmenu="return DoEdit('{{ note.id}}');">{{ note.title }}</a></div>
10 {% endif %}
11 <div class="date">{{ note.modified_date }}</div>
12 <div class="summary">{{ note.long_summary }}</div>
13</div>
14{% endfor %}
15{% if notes|length == 0 %}
16<b>Any note</b>
17{% endif %}
18{% endblock %}

Archive Download this file

Branches

Tags