Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cms/forms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))


Expand Down
4 changes: 2 additions & 2 deletions cms/templates/admin/cms/page/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}

Expand Down