portal: additional buttons on list pages
link to onion services page from origin page link to previews of distribution lists from lists
This commit is contained in:
parent
928edc46c2
commit
d54fae7423
9 changed files with 151 additions and 74 deletions
|
@ -5,7 +5,10 @@
|
|||
{% block content %}
|
||||
<h1 class="h2 mt-3">{{ title }}</h1>
|
||||
{% if new_link %}
|
||||
<a href="{{ new_link }}" class="btn btn-success">Create new {{ item }}</a>
|
||||
<a href="{{ new_link }}" class="btn btn-success">Create new {{ item }}</a>
|
||||
{% for extra_button in extra_buttons %}
|
||||
<a href="{{ extra_button.link }}" class="btn btn-{{ extra_button.style }}">{{ extra_button.text }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if section == "alarm" %}
|
||||
{{ alarms_table(items) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue