Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removes leftover img/admin/ urls to adapt to django 1.4

  • Loading branch information...
commit 24d5b1fb96cd279df2b8644f08503ad41aadc9b0 1 parent dc00224
@matiaspizarro matiaspizarro authored
View
2  cms/forms/widgets.py
@@ -171,7 +171,7 @@ def render(self, name, value, attrs=None, choices=()):
add_url = '../../../cms/pageuser/add/'
output.append(u'<a href="%s" class="add-another" id="add_id_%s" onclick="return showAddAnotherPopup(this);"> ' % \
(add_url, name))
- output.append(u'<img src="%simg/admin/icon_addlink.gif" width="10" height="10" alt="%s"/></a>' % (admin_static_url(), _('Add Another')))
+ output.append(u'<img src="%simg/icon_addlink.gif" width="10" height="10" alt="%s"/></a>' % (admin_static_url(), _('Add Another')))
return mark_safe(u''.join(output))
View
4 cms/templates/admin/cms/page/change_form.html
@@ -36,7 +36,7 @@
margin-bottom:-1px;
border-color:#ddd #aaa #ccc #ddd !important;
border:1px;
- background:#fff url('{% admin_static_url %}img/admin/nav-bg.gif') repeat-x center bottom !important;
+ background:#fff url('{% admin_static_url %}img/nav-bg.gif') repeat-x center bottom !important;
}
#lang_tab_content h2.header {
@@ -45,7 +45,7 @@
font-size:11px;
text-align:left;
font-weight:bold;
- background:#7ca0c7 url('{% admin_static_url %}img/admin/default-bg.gif') repeat-x left top;
+ background:#7ca0c7 url('{% admin_static_url %}img/default-bg.gif') repeat-x left top;
color:#fff;
}
Please sign in to comment.
Something went wrong with that request. Please try again.