2015-09-24 18:31:03 +02:00
|
|
|
{% extends "base_user.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% for note in notes %}
|
|
|
|
<div class="note">
|
|
|
|
{% if note.category != None %}
|
2015-10-12 18:05:07 +02:00
|
|
|
<div class="title"><a href="/note/{{ note.id}}" oncontextmenu="return DoEdit('{{ note.id}}');">{{ note.title }} [{{ note.category.name }}]</a></div>
|
2015-09-24 18:31:03 +02:00
|
|
|
{% else %}
|
2015-10-12 18:05:07 +02:00
|
|
|
<div class="title"><a href="/note/{{ note.id}}" oncontextmenu="return DoEdit('{{ note.id}}');">{{ note.title }}</a></div>
|
2015-09-24 18:31:03 +02:00
|
|
|
{% endif %}
|
|
|
|
<div class="date">{{ note.modified_date }}</div>
|
|
|
|
<div class="summary">{{ note.long_summary }}</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2016-06-14 11:09:11 +02:00
|
|
|
{% if notes|length == 0 %}
|
|
|
|
<b>Any note</b>
|
|
|
|
{% endif %}
|
2015-09-24 18:31:03 +02:00
|
|
|
{% endblock %}
|