Denote/denote/templates/user_index.html

16 lines
477 B
HTML
Raw Normal View History

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 %}
<div class="title"><a href="/note/{{ note.id }}">{{ note.title }} [{{ note.category.name }}]</a></div>
{% else %}
<div class="title"><a href="/note/{{ note.id }}">{{ note.title }}</a></div>
{% endif %}
<div class="date">{{ note.modified_date }}</div>
<div class="summary">{{ note.long_summary }}</div>
</div>
{% endfor %}
{% endblock %}