mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 02:54:20 +00:00
27 lines
553 B
Django/Jinja
27 lines
553 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Company list{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<p><a href="{{ url('accounting:co_new') }}">{% trans %}Create new company{% endtrans %}</a></p>
|
|
|
|
</br>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td>{% trans %}Companies{% endtrans %}</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for o in object_list %}
|
|
<tr>
|
|
<td><a href="{{ url('accounting:co_edit', co_id=o.id) }}">{{ o.get_display_name() }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %}
|