HCG1 installation
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/* copied from admin/css/widgets.css */
|
||||
|
||||
.related-widget-wrapper-link {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.related-widget-wrapper-link:link {
|
||||
opacity: .8;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
if (typeof django == 'undefined') django = {};
|
||||
if (typeof django.jQuery == 'undefined') django.jQuery = $;
|
||||
|
||||
/* this function is defined in admin/jsi18n, if this wasn't loaded, we define it */
|
||||
if (typeof interpolate == 'undefined'){
|
||||
interpolate = function(fmt, obj, named) {
|
||||
if (named) {
|
||||
return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
|
||||
} else {
|
||||
return fmt.replace(/%s/g, function(match){return String(obj.shift())});
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user