24 lines
541 B
HTML
24 lines
541 B
HTML
{% extends "notes/base.html" %}
|
|
|
|
{% block title %}Dashboard{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>Dashboard</h1>
|
|
{% include "notes/messages.html" %}
|
|
|
|
<h2>Notes for you</h2>
|
|
{% if notes %}
|
|
<div class="notes">
|
|
{% for note in notes %}
|
|
<div class="note">
|
|
<p>{{ note.note }}</p>
|
|
<p class="note-from">From {{ note.from_user.visible_name }}</p>
|
|
<p class="note-at">{{ note.created_at|date:"j M, H:i"}}</p>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="card">No Notes found</div>
|
|
{% endif %}
|
|
{% endblock %}
|