Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replaced a {{ ADMIN_MEDIA_URL }} reference by a {% admin_media_prefix…

… %} to avoid image 404.

This was causing issues when viewing a page version since the images were loaded relatively to
the page since ADMIN_MEDIA_URL was an empty string.
  • Loading branch information...
commit 785b31a1a0879eddb6385bfba31cf7303c060239 1 parent 9214fea
@charettes charettes authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cms/templates/admin/cms/page/change_form.html
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_MEDIA_URL }}img/admin/nav-bg.gif') repeat-x center bottom !important;
+ background:#fff url('{% admin_media_prefix %}img/admin/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_MEDIA_URL }}img/admin/default-bg.gif') repeat-x left top;
+ background:#7ca0c7 url('{% admin_media_prefix %}img/admin/default-bg.gif') repeat-x left top;
color:#fff;
}
Please sign in to comment.
Something went wrong with that request. Please try again.