mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-25 23:21:41 +03:00
Merge remote-tracking branch 'origin/v3.0'
This commit is contained in:
commit
d52bc68015
@ -1,13 +1,27 @@
|
||||
{% load i18n %}
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
<head>
|
||||
<!-- just in case translations cannot be loaded, provide a fallback -->
|
||||
<script type="text/javascript">
|
||||
django = {
|
||||
gettext: function (s) {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="{% url 'utility.jsCatalog' LANGUAGE_CODE %}"></script>
|
||||
<script type="text/javascript" src="{% url 'utility-adm.js' %}"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function onLoad() {
|
||||
var msg = window.btoa(django.gettext('Page not found'));
|
||||
window.location.href = "{% url 'page.error' 'param' %}".replace('param', msg);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="onLoad()">
|
||||
</body>
|
||||
</html>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="onLoad()">
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,13 +1,27 @@
|
||||
{% load i18n %}
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
<head>
|
||||
<!-- just in case translations cannot be loaded, provide a fallback -->
|
||||
<script type="text/javascript">
|
||||
django = {
|
||||
gettext: function (s) {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="{% url 'utility.jsCatalog' LANGUAGE_CODE %}"></script>
|
||||
<script type="text/javascript" src="{% url 'utility-adm.js' %}"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function onLoad() {
|
||||
var msg = window.btoa(django.gettext('Internal server error'));
|
||||
window.location.href = "{% url 'page.error' 'param' %}".replace('param', msg);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="onLoad()">
|
||||
</body>
|
||||
</html>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="onLoad()">
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user