1
|
{% extends "organization/base.html" %}
|
2
|
{% load i18n %}
|
3
|
|
4
|
{% block page-title %}
|
5
|
{% trans 'Federations management' %}
|
6
|
{% endblock %}
|
7
|
|
8
|
{% block appbar %}
|
9
|
<h2>{% trans "Federations" %}</h2>
|
10
|
<a href="{% url "federations-add" organization.slug %}" rel="popup">{% trans "Add federation" %}</a>
|
11
|
{% endblock %}
|
12
|
|
13
|
{% block content %}
|
14
|
<form action='{% url "federations-delete" organization.slug %}'>
|
15
|
<table>
|
16
|
<thead>
|
17
|
<tr><td>{% trans "Filename" %}</td><td></td></tr>
|
18
|
</thead>
|
19
|
<tbody>
|
20
|
{% for federation in federations %}
|
21
|
<tr><td>{{ federation }}</td><td> <button name="federation" value="{{ federation }}" class="icon-delete">{% trans "Remove" %}</button></td></tr>
|
22
|
{% empty %}
|
23
|
<tr><td colspan=2>{% trans "No federations uploaded yet" %}</td></tr>
|
24
|
{% endfor %}
|
25
|
</tbody>
|
26
|
</table>
|
27
|
</form>
|
28
|
{% endblock %}
|