1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00
django/templates/admin/changelist_generic.html
Adrian Holovaty 52f5c949e9 Added default Django admin templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@92 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 03:46:17 +00:00

35 lines
827 B
HTML

{% extends "base_site" %}
{% block bodyclass %}change-list{% endblock %}
{% block content %}
{% if not hide_add_link %}
<ul class="object-tools"><li><a href="/{{ admin_url }}/add/" class="addlink">Add {{ object_name }}</a></li></ul>
{% endif %}
<div id="content-main">
<div class="module">
{% if toplinks %}
<ul class="toplinks">
{% for toplink in toplinks %}
<li><a href="{{ toplink.link }}/">{{ toplink.text }}/</a></li>
{% endfor %}
</ul>
<hr />
{% endif %}
{% if changelist %}
<ul class="changelist">
{% for obj in changelist %}
<li class="{% cycle row1,row2 %}"><a href="/{{ admin_url }}/change/{{ obj.id }}/" title="Click to change">{{ obj|striptags|escape }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
{% endblock %}