ajout de marquage traité pour les rapports de modif
[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 content %}
17
18 <h1>Historique des modifications</h1>
19
20 <br />
21
22 <form method="post">
23 <table id="result_list" class="results">
24 <thead>
25 <tr>
26 {% for h in headers %}
27 <th>{{ h }}</th>
28 {% endfor %}
29 </tr>
30 </thead>
31 {% for revision in revisions %}
32 <tr class="{% cycle 'row1' 'row2' %}">
33 <td>{{ revision.date_created }}</td>
34 <td>{{ revision.user|default:"" }}</td>
35 <td>{{ revision.type|default:"" }}</td>
36 <td>{% if revision.objet %}<a href="{{ revision.change_url }}">{{ revision.objet }}</a>{% endif %}</td>
37 <td>{% if revision.history_url %}<a href="{{ revision.history_url }}">historique{% endif %}</a></td>
38 <td>{{ revision.comment }}</td>
39 <td><input type="checkbox" id="id_items_{{ forloop.counter0 }}" value="{{ revision.id }}" name="items"></td>
40 </tr>
41 {% endfor %}
42 </table>
43 <div>
44 <input type="submit" value="Marquer comme traité" />
45 </div>
46 </form>
47
48 <br />
49
50 <div class="pagination">
51 <span class="step-links">
52 {% if page.has_previous %}
53 <a href="?page={{ page.previous_page_number }}">Précédente</a>
54 {% endif %}
55
56 <span class="current">
57 Page {{ page.number }} / {{ page.paginator.num_pages }}.
58 </span>
59
60 {% if page.has_next %}
61 <a href="?page={{ page.next_page_number }}">Suivante</a>
62 {% endif %}
63 </span>
64 </div>
65
66 {% endblock %}