mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
django 1.4 compatibility
This commit is contained in:
parent
5398c45c82
commit
5e14b29466
1 changed files with 8 additions and 4 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{% extends "admin/base_site.html" %}
|
||||
{% load adminmedia admin_list i18n %}
|
||||
{% load admin_static admin_list i18n %}
|
||||
|
||||
|
||||
{% block extrastyle %}
|
||||
{{ block.super }}
|
||||
<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/changelists.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/forms.css' %}" />
|
||||
{{ media.css }}
|
||||
<style>
|
||||
#result_list .changed {
|
||||
|
|
@ -55,7 +55,11 @@
|
|||
{{item.form_field}}
|
||||
</td>
|
||||
<td>
|
||||
<img src="{% admin_media_prefix %}img/icon-{% if item.modified %}yes{% else %}no{% endif %}.gif" alt="{{ item.modified }}" />
|
||||
{% if item.modified %}
|
||||
<img src="{% static 'admin/img/icon-yes.gif' %}" alt="{{ item.modified }}" />
|
||||
{% else %}
|
||||
<img src="{% static 'admin/img/icon-no.gif' %}" alt="{{ item.modified }}" />
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue