Skip to content

Commit

Permalink
Merge branch 'release-v1.6' of ssh://github.com/okfn/ckan into releas…
Browse files Browse the repository at this point in the history
…e-v1.6
  • Loading branch information
David Read committed Feb 16, 2012
2 parents 1943b8c + 9b81fdd commit 4c9c293
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/templates/layout_base.html
Expand Up @@ -243,6 +243,9 @@ <h3 class="widget-title">Meta</h3>
// Declare js array from Python string
${['\'%s\', '%s for s in config.get('ckan.plugins','').split(' ')]}
];
<py:if test="config.get('ckan.storage.bucket', '')">
CKAN.plugins.push('storage');
</py:if>
CKAN.SITE_URL = '${h.url('/')}';
// later use will add offsets with leading '/' so ensure no trailing slash
CKAN.SITE_URL = CKAN.SITE_URL.replace(/\/$/, '');
Expand Down

0 comments on commit 4c9c293

Please sign in to comment.