mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-07 15:50:14 +02:00
test: fix one more test
remove 500-embed.tpl
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user