File: change_list.html

package info (click to toggle)
qdjango 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 908 kB
  • ctags: 959
  • sloc: cpp: 8,233; python: 51; sh: 32; makefile: 13
file content (27 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% include "header.html" %}
<ul class="object-tools">
    <li><a href="add/">{{ add_link }}</a></li>
</ul>

<div class="module">
    <table width="100%">
        <tr>
{% for field in field_list %}
            <th>{{ field.name }}</th>
{% endfor %}
            <th>Actions</th>
        </tr>
{% for object in object_list %}
        <tr id="{{ forloop.counter }}">
{% for value in object.value_list %}
            <td>{% if forloop.counter == "1" %}<a href="{{ object.pk }}/">{{ value }}</a>{% else %}{{ value }}{% endif %}</td>
{% endfor %}
            <td>
                <a href="{{ object.pk }}/">{{ edit_link }}</a>
                <a href="{{ object.pk }}/delete/">{{ delete_link }}</a>
            </td>
        </tr>
{% endfor %}
    </table>
</div>
{% include "footer.html" %}