31fcaaa6f10da3e25531481e9a0997efdec2c7c7
[auf_rh_dae.git] / project / rh / templates / rh / rapports / historique_des_modifications.html
1 {% extends "admin/base_site.html" %}
2
3 {% load adminmedia i18n change_list %}
4
5 {% block extrahead %}
6 <script type="text/javascript" src="/admin/jsi18n"></script>
7 <script type="text/javascript" src="{{ STATIC_URL }}/admin/js/core.js"></script>
8 <script type="text/javascript" src="{{ STATIC_URL }}admin/js/admin/RelatedObjectLookups.js"></script>
9 {{ block.super }}
10 {% endblock %}
11
12 {% block title %}
13 Historique des modifications
14 {% endblock %}
15
16 {% block breadcrumbs %}
17 {% if not is_popup %}
18 <div class="breadcrumbs">
19 <a href="{% url admin:index %}">{% trans "Home" %}</a> &rsaquo;
20 Historique des modifications
21 </div>
22 {% endif %}
23 {% endblock %}
24
25 {% block content %}
26
27 <h1>Historique des modifications</h1>
28
29 <br />
30
31 <form method="post">
32 <table id="result_list" class="results">
33 <thead>
34 <tr>
35 {% for h in headers %}
36 <th>{{ h }}</th>
37 {% endfor %}
38 </tr>
39 </thead>
40 {% for revision in revisions %}
41 <tr class="{% cycle 'row1' 'row2' %}">
42 <td>{{ revision.date_created }}</td>
43 <td>{{ revision.user|default:"" }}</td>
44 <td>{{ revision.type|default:"" }}</td>
45 <td>{% if revision.objet %}<a href="{{ revision.change_url }}">{{ revision.objet }}</a>{% endif %}</td>
46 <td>{% if revision.history_url %}<a href="{{ revision.history_url }}">historique{% endif %}</a></td>
47 <td>{{ revision.comment }}</td>
48 <td><input type="checkbox" id="id_items_{{ forloop.counter0 }}" value="{{ revision.id }}" name="items"></td>
49 </tr>
50 {% endfor %}
51 </table>
52 <div>
53 <input type="submit" value="Marquer comme traité" />
54 </div>
55 </form>
56
57 <br />
58
59 <div class="pagination">
60 <span class="step-links">
61 {% if page.has_previous %}
62 <a href="?page={{ page.previous_page_number }}">Précédente</a>
63 {% endif %}
64
65 <span class="current">
66 Page {{ page.number }} / {{ page.paginator.num_pages }}.
67 </span>
68
69 {% if page.has_next %}
70 <a href="?page={{ page.next_page_number }}">Suivante</a>
71 {% endif %}
72 </span>
73 </div>
74
75 {% endblock %}