From 5e3dc2047ed9b0b59989bba9f0d86a28aa25613b Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sun, 1 Sep 2013 15:56:37 -0700 Subject: Adding ErrorPage representation for error messages --- src/templates/templates/error.ftl | 17 +++++++++++++++++ src/templates/templates/nav.ftl | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/templates/templates/error.ftl (limited to 'src/templates') diff --git a/src/templates/templates/error.ftl b/src/templates/templates/error.ftl new file mode 100644 index 0000000..2494907 --- /dev/null +++ b/src/templates/templates/error.ftl @@ -0,0 +1,17 @@ +<#include "/macros/common.ftl"> +<#include "/macros/common-page.ftl"> + +<@commonpage> + <@noticebox> + + + <@content> +

An Error has Occurred

+ +

An error has occurred. If you continue to see this message, please contact us.

+

Error: ${errorMessage}

+ + + + + diff --git a/src/templates/templates/nav.ftl b/src/templates/templates/nav.ftl index cef283e..54074d5 100644 --- a/src/templates/templates/nav.ftl +++ b/src/templates/templates/nav.ftl @@ -1,6 +1,6 @@ <#macro navLink href>
  • + <#if currentPage!"" == href> class="current" href="${href}"><#nested>
  • -- cgit v1.2.3