From 231ad8195ca2dde0bf560a188614bcdcc26398cc Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 29 Aug 2013 22:42:14 +0200 Subject: Account activation done --- tpls/master.tpl | 4 ++-- tpls/msg.tpl | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 tpls/msg.tpl (limited to 'tpls') diff --git a/tpls/master.tpl b/tpls/master.tpl index b675598..4e2b90f 100644 --- a/tpls/master.tpl +++ b/tpls/master.tpl @@ -1,9 +1,9 @@ - {{template "title"}} – mailremind + {{template "title" .}} – mailremind -

{{template "title"}}

+

{{template "title" .}}

{{template "content" .}} diff --git a/tpls/msg.tpl b/tpls/msg.tpl new file mode 100644 index 0000000..f7e75f3 --- /dev/null +++ b/tpls/msg.tpl @@ -0,0 +1,9 @@ +{{define "title"}}{{.Title}}{{end}} + +{{define "content"}} + {{if .Class}} +
{{.Msg}}
+ {{else}} +
{{.Msg}}
+ {{end}} +{{end}} \ No newline at end of file -- cgit v1.2.3-70-g09d2