Molodetz blogrol volgens DPP-template
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<!-- retoor <retoor@molodetz.nl> -->
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<header class="article-header"><span class="label">Account</span><h1>Meldingen</h1></header>
|
||||
{% if unread %}
|
||||
<form method="post" action="/notifications/read"><button class="button ghost small" type="submit">Alles gelezen</button></form>
|
||||
{% endif %}
|
||||
{% for item in notifications %}
|
||||
<div class="post-card">
|
||||
<div class="post-meta">{{ dt_ago(item.created_at) }}{% if not item.read_at %}<span class="tag-placeholder tag-draft">Nieuw</span>{% endif %}</div>
|
||||
<a href="{{ item.url }}">{{ item.message }}</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<p class="empty">Geen meldingen.</p>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user