From 3e77643cc4624f94f3011f6311aad354f9a47eb6 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Fri, 6 Aug 2010 13:05:33 +0300 Subject: Move some account related info into its own separate macro --- grumpy/templates/_userinfo.html | 15 +++++++++++++++ grumpy/templates/layout.html | 14 +++----------- 2 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 grumpy/templates/_userinfo.html diff --git a/grumpy/templates/_userinfo.html b/grumpy/templates/_userinfo.html new file mode 100644 index 0000000..a9827e7 --- /dev/null +++ b/grumpy/templates/_userinfo.html @@ -0,0 +1,15 @@ +{% macro show_box(g) -%} +{% if g.user -%} +