forked from shaba/openuds
moved uds.js to different location for admin and user
This commit is contained in:
parent
57bc347625
commit
e5967b7ff3
@ -47,6 +47,6 @@ def rename(newName: str) -> bool:
|
||||
return renamers[distribution](newName)
|
||||
|
||||
# Try Debian renamer, simplest one
|
||||
logger.info('Renamer for platform "{0}" not found, tryin debian renamer'.format(distribution))
|
||||
logger.info('Renamer for platform "{0}" not found, trying debian renamer'.format(distribution))
|
||||
return renamers['debian'](newName)
|
||||
|
||||
|
@ -92,6 +92,6 @@
|
||||
</svg>
|
||||
</div>
|
||||
</uds-root>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1587373545" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1587373545" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1587373545" defer></script><script src="/uds/res/admin/main.js?stamp=1587373545" defer></script></body>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1587715220" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1587715220" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1587715220" defer></script><script src="/uds/res/admin/main.js?stamp=1587715220" defer></script></body>
|
||||
|
||||
</html>
|
||||
|
@ -89,6 +89,7 @@ urlpatterns = [
|
||||
|
||||
# Javascript
|
||||
path(r'uds/utility/uds.js', uds.web.views.modern.js, name="utility.js"),
|
||||
path(r'uds/adm/utility/uds.js', uds.web.views.modern.js, name="utility-adm.js"),
|
||||
|
||||
# i18n
|
||||
re_path(r'^uds/utility/i18n/(?P<lang>[a-z_-]*).js$', JavaScriptCatalog.as_view(), name='utility.jsCatalog'),
|
||||
|
Loading…
Reference in New Issue
Block a user