From a4f3041a738494e6b21c1d90748ddc0f2995f674 Mon Sep 17 00:00:00 2001 From: Olivier PEREZ <olivier@olivierperez.fr> Date: Tue, 6 Jan 2015 23:21:10 +0100 Subject: [PATCH] Implement error page template --- tpl/error.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tpl/error.tpl diff --git a/tpl/error.tpl b/tpl/error.tpl new file mode 100644 index 00000000..baf5cbe7 --- /dev/null +++ b/tpl/error.tpl @@ -0,0 +1,8 @@ +{extends file='page.tpl'} + +{block name=main} + <div class="alert alert-warning"> + <h2>{$error}</h2> + <p>{_('Back to the homepage of')} <a href="{$SERVER_URL}">{$APPLICATION_NAME}</a></p> + </div> +{/block} -- GitLab