mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-30 11:34:49 +00:00
Merge branch 'master' of https://github.com/utek/wagtail into utek-master
This commit is contained in:
commit
77cf58c024
2 changed files with 11 additions and 2 deletions
|
|
@ -17,3 +17,5 @@
|
|||
{# TODO: a method of injecting these sorts of things on demand when the modal is spawned #}
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}wagtailadmin/scss/vendor/jquery.tagit.css">
|
||||
{% endcompress %}
|
||||
|
||||
{{ edit_handler.form.media.css }}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,13 @@
|
|||
and include it in wagtailadmin/js/vendor/
|
||||
{% endcomment %}
|
||||
{% get_localized_datepicker_js %}
|
||||
|
||||
{% comment %}
|
||||
Additional js from widgets media. Allows for custom widgets in admin panel.
|
||||
Can be used for TODO above (including image-choser.js at wagtailimages)
|
||||
{% endcomment %}
|
||||
{{ edit_handler.form.media.js }}
|
||||
|
||||
<script>
|
||||
window.chooserUrls = {
|
||||
'documentChooser': '{% url "wagtaildocs_chooser" %}',
|
||||
|
|
@ -47,10 +54,10 @@
|
|||
'pageChooser': '{% url "wagtailadmin_choose_page" %}',
|
||||
'snippetChooser': '{% url "wagtailsnippets_choose_generic" %}'
|
||||
};
|
||||
|
||||
|
||||
{% get_date_format_override as format_override %}
|
||||
window.overrideDateInputFormat ='{{ format_override }}';
|
||||
|
||||
|
||||
(function() {
|
||||
function fixPrefix(str) {return str;}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue