mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Adds the pages and wires them together, so that it’s possible to click through them. The wording is not quite English, but attempts to be an rough description of what the consequences are for each of the four actions.
21 lines
617 B
HTML
21 lines
617 B
HTML
{% macro browse_list(items) %}
|
|
{% if items %}
|
|
<nav class="browse-list">
|
|
<ul>
|
|
{% for item in items %}
|
|
{% if item.title and item.link %}
|
|
<li class="browse-list-item">
|
|
<a href="{{ item.link }}" class="browse-list-link{% if item.destructive %}-destructive{% endif %}">{{ item.title }}</a>
|
|
{% if item.hint %}
|
|
<div class="browse-list-hint">
|
|
{{ item.hint }}
|
|
</div>
|
|
{% endif %}
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
{% endif %}
|
|
{% endmacro %}
|