Skip to content

Commit

Permalink
1.5 compat: remove adminmedia templatetag calls
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface committed Feb 28, 2013
1 parent 46f28a3 commit 1d7463d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "admin/change_list.html" %}
{% load adminmedia admin_list i18n admin_tree_list %}
{% load admin_list i18n admin_tree_list %}
{% block extrahead %}
{{block.super}}
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion categories/editor/templates/admin/editor/tree_editor.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "admin/change_list.html" %}
{% load adminmedia admin_list i18n admin_tree_list %}
{% load admin_list i18n admin_tree_list %}
{% block extrahead %}
{{block.super}}
<script type="text/javascript">
Expand Down
4 changes: 2 additions & 2 deletions categories/templates/admin/edit_inline/gen_coll_tabular.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n adminmedia %}
{% load i18n staticfiles %}
<div class="inline-group">
<div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">
{{ inline_admin_formset.formset.management_form }}
Expand Down Expand Up @@ -46,7 +46,7 @@ <h2>{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}</h2>
{% ifequal field.field.name inline_admin_formset.formset.ct_fk_field %}
{{ field.field }}
<a id="lookup_id_{{field.field.html_name}}" class="related-lookup" onclick="return showGenericRelatedObjectLookupPopup(this, {{ inline_admin_formset.formset.content_types }});" href="#">
<img width="16" height="16" alt="Lookup" src="{% admin_media_prefix %}img/admin/selector-search.gif"/>
<img width="16" height="16" alt="Lookup" src="{% static 'img/admin/selector-search.gif' %}"/>
</a>
{% else %}{{ field.field }} {% endifequal %}
{% endif %}
Expand Down

0 comments on commit 1d7463d

Please sign in to comment.