summaryrefslogtreecommitdiff
path: root/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_list.html')
-rw-r--r--horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_list.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_list.html b/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_list.html
new file mode 100644
index 00000000..ac6410c4
--- /dev/null
+++ b/horizon/horizon/dashboards/syspanel/templates/syspanel/tenants/_list.html
@@ -0,0 +1,26 @@
+{%load i18n%}
+<table class="wide">
+ <tr>
+ <th>{% trans "Id"%}</th>
+ <th>{% trans "Name"%}</th>
+ <th>{% trans "Description"%}</th>
+ <th>{% trans "Enabled"%}</th>
+ <th>{% trans "Options"%}</th>
+ </tr>
+ {% for tenant in tenants %}
+ <tr class="{% cycle 'odd' 'even' %}">
+ <td>{{tenant.id}}</td>
+ <td>{{tenant.name}}</td>
+ <td>{{tenant.description}}</td>
+ <td>{{tenant.enabled}}</td>
+ <td id="actions">
+ <ul>
+ <li class="form">{% include "syspanel/tenants/_delete.html" with form=tenant_delete_form %}</li>
+ <li><a href="{% url horizon:syspanel:tenants:update tenant.id %}">{% trans "Edit"%}</a></li>
+ <li><a href="{% url horizon:syspanel:tenants:users tenant.id %}">{% trans "View Members"%}</a></li>
+ <li><a href="{% url horizon:syspanel:tenants:quotas tenant.id %}">{% trans "Modify Quotas"%}</a></li>
+ </ul>
+ </td>
+ </tr>
+ {% endfor %}
+</table>