2016-06-17 15:48:33 +02:00
|
|
|
/**
|
|
|
|
* Test stubs to mirror available global variables.
|
|
|
|
* Those variables usually come from the back-end via templates.
|
|
|
|
* See /wagtailadmin/templates/wagtailadmin/admin_base.html.
|
|
|
|
*/
|
|
|
|
|
2016-02-26 22:10:54 +01:00
|
|
|
global.wagtailConfig = {
|
2016-06-17 15:48:33 +02:00
|
|
|
ADMIN_API: {
|
|
|
|
DOCUMENTS: '/admin/api/v2beta/documents/',
|
|
|
|
IMAGES: '/admin/api/v2beta/images/',
|
|
|
|
PAGES: '/admin/api/v2beta/pages/',
|
|
|
|
},
|
|
|
|
ADMIN_URLS: {
|
|
|
|
PAGES: '/admin/pages/',
|
|
|
|
},
|
|
|
|
STRINGS: {
|
|
|
|
EXPLORER: 'Explorer',
|
|
|
|
LOADING: 'Loading...',
|
|
|
|
NO_RESULTS: 'No results',
|
|
|
|
SEE_CHILDREN: 'See Children',
|
|
|
|
NO_DATE: 'No date',
|
2016-02-26 22:10:54 +01:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
global.wagtailVersion = '1.6a1';
|