From 3ca5fe62a65510508ba07e5ec8117815db9a0555 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 21 Nov 2018 09:34:56 +0200 Subject: Change: use jinj2 templates in files instead of hardcoded strings --- templates/logged-in.j2 | 14 ++++++++++++++ templates/not-logged-in.j2 | 9 +++++++++ 2 files changed, 23 insertions(+) create mode 100644 templates/logged-in.j2 create mode 100644 templates/not-logged-in.j2 (limited to 'templates') diff --git a/templates/logged-in.j2 b/templates/logged-in.j2 new file mode 100644 index 0000000..4fe6c28 --- /dev/null +++ b/templates/logged-in.j2 @@ -0,0 +1,14 @@ + + + + Not logged int + + +

Log out

+

You ARE logged in. Your information:

+
+

Full name: {{ member.fullname }}

+

Email: {{ member.email }}

+
+ + diff --git a/templates/not-logged-in.j2 b/templates/not-logged-in.j2 new file mode 100644 index 0000000..4ac097b --- /dev/null +++ b/templates/not-logged-in.j2 @@ -0,0 +1,9 @@ + + + + Not logged int + + +

You are NOT logged in. Log in

+ + -- cgit v1.2.1