mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 22:23:23 +00:00
23 lines
471 B
Django/Jinja
23 lines
471 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block content %}
|
|
<h2>View journal: {{ object.name }}</h2>
|
|
<ul>
|
|
{% for k,v in object.__dict__.items() %}
|
|
<li>{{ k }} - {{ v }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<p><a href="{{ url('accounting:op_new') }}">New operation</a></p>
|
|
<ul>
|
|
{% for o in object.operations.all() %}
|
|
<li>
|
|
<a href="{{ url('accounting:op_edit', op_id=o.id) }}">{{ o }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|