Jan Dittberner
8e42cb9c18
- drop jQuery and fontawesome dependencies - add bootstrap5 and bootstrap-icons - update fonts mfizz - update base templates and the first set of other templates - replace blocktrans and trans with blocktranslate and translate to prepare for Django 4 - move hostingpakcage templates to hostingpackages/templates - update translations
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% extends "hostingpackages/base.html" %}
|
|
{% load i18n %}
|
|
{% block title %}{{ block.super }} - {% translate "All hosting packages" %}{% endblock title %}
|
|
{% block page_title %}{% translate "All hosting packages" %}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
{% if customerhostingpackage_list %}
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>{% translate "Name" %}</th>
|
|
<th>{% translate "Customer" %}</th>
|
|
<th>{% translate "Setup date" %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for package in customerhostingpackage_list %}
|
|
<tr>
|
|
<td><a href="{{ package.get_absolute_url }}">{{ package.name }}</a></td>
|
|
<td>
|
|
<a href="{% url 'customer_dashboard' slug=package.customer.username %}">{{ package.customer }}</a>
|
|
</td>
|
|
<td>{{ package.created }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p class="text-info">{% translate "No hosting packages have been setup yet." %}</p>
|
|
{% endif %}
|
|
<p>
|
|
<a href="{% url 'create_hosting_package' %}" class="btn btn-primary">{% translate "Add hosting package" %}</a>
|
|
</p>
|
|
{% endblock content %} |