test: fix one more test

remove 500-embed.tpl
This commit is contained in:
Barış Soner Uşaklı
2022-02-17 20:36:49 -05:00
parent 9dccd439f9
commit 1803c29ec9
5 changed files with 21 additions and 26 deletions

View File

@@ -1,15 +0,0 @@
<script>
// TODO: figure out how to embed this, maybe import static tpl into partials/footer/js.tpl
// window.addEventListener('load', function () {
// define(config.relative_path + '/assets/templates/500.js', function () {
// function compiled(helpers, context, get, iter, helper) {
// return '<div class="alert alert-danger">\n\t<strong>[[global:500.title]]</strong>\n\t<p>[[global:500.message]]</p>\n\t<p>' +
// helpers.__escape(get(context && context['path'])) + '</p>\n\t' +
// (get(context && context['error']) ? '<p>' + helpers.__escape(get(context && context['error'])) + '</p>' : '') + '\n\n\t' +
// (get(context && context['returnLink']) ? '\n\t<p>[[error:goback]]</p>\n\t' : '') + '\n</div>\n';
// }
// return compiled;
// });
// });
</script>