29 lines
810 B
HTML
29 lines
810 B
HTML
{% extends "organization/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block page-title %}
|
|
{% trans 'Federations management' %}
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans "Federations" %}</h2>
|
|
<a href="{% url "federations-add" organization.slug %}" rel="popup">{% trans "Add federation" %}</a>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action='{% url "federations-delete" organization.slug %}'>
|
|
<table>
|
|
<thead>
|
|
<tr><td>{% trans "Filename" %}</td><td></td></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for federation in federations %}
|
|
<tr><td>{{ federation }}</td><td> <button name="federation" value="{{ federation }}" class="icon-delete">{% trans "Remove" %}</button></td></tr>
|
|
{% empty %}
|
|
<tr><td colspan=2>{% trans "No federations uploaded yet" %}</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
{% endblock %}
|