30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
{% from "_macros.html" import change_row %}
|
|
{% block title %}Änderungen · EPI-Support{% endblock %}
|
|
{% block content %}
|
|
|
|
<section class="panel">
|
|
<div class="panel-head">
|
|
<h2>Änderungen</h2>
|
|
<div class="head-tools">
|
|
<span class="chips">
|
|
<a class="chip {{ 'on' if show != 'unseen' }}" href="{{ url_for('changes', show='all') }}">alle</a>
|
|
<a class="chip {{ 'on' if show == 'unseen' }}" href="{{ url_for('changes', show='unseen') }}">nur ungelesene ({{ unseen }})</a>
|
|
</span>
|
|
{% if unseen %}
|
|
<form method="post" action="{{ url_for('mark_read') }}">
|
|
<button class="btn-sm" type="submit">alle als gelesen</button>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% if rows %}
|
|
<ul class="feed compact">
|
|
{% for c in rows %}{{ change_row(c) }}{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
<p class="muted">{{ 'Keine ungelesenen Änderungen.' if show == 'unseen' else 'Noch keine Änderungen erfasst.' }}</p>
|
|
{% endif %}
|
|
</section>
|
|
{% endblock %}
|