4b0aba62f3
And correctly close an <a> tag
22 lines
701 B
Plaintext
22 lines
701 B
Plaintext
{% extends "base" %}
|
|
{% import "macros" as macros %}
|
|
|
|
{% block title %}
|
|
{{ "Notifications" | _ }}
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1>{{ "Notifications" | _ }}</h1>
|
|
<div class="list">
|
|
{% for notification in notifications %}
|
|
<div class="card">
|
|
<h3><a href="{% if notification.link %}{{ notification.link }}/{% else %}#{% endif %}">{{ notification.title | _(data=notification.data) }}</a></h3>
|
|
{% if notification.content %}
|
|
<p>{{ notification.content }}</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{{ macros::paginate(page=page, total=n_pages) }}
|
|
{% endblock content %}
|