From 1db6d642e7c31a99ffb519456382eb51dcbcca74 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 6 Mar 2020 14:01:10 -0600 Subject: [PATCH] Refactor "view profile" page per latest Buefy theme conventions --- .../templates/people/view_profile_buefy.mako | 654 +++++++++--------- 1 file changed, 338 insertions(+), 316 deletions(-) diff --git a/tailbone/templates/people/view_profile_buefy.mako b/tailbone/templates/people/view_profile_buefy.mako index 6c3bf351..ecb8d60a 100644 --- a/tailbone/templates/people/view_profile_buefy.mako +++ b/tailbone/templates/people/view_profile_buefy.mako @@ -1,287 +1,100 @@ ## -*- coding: utf-8; -*- <%inherit file="/master/view.mako" /> -
- +<%def name="page_content()"> + + - -
+<%def name="render_this_page()"> + ${self.page_content()} + -
+<%def name="render_this_page_template()"> + ${parent.render_this_page_template()} -
-
- -
- ${person.first_name} -
-
-
+ +
+ +
+ + % endfor +
+ + % else: +

${person} has never been a user.

+ % endif + + + + + + + +<%def name="make_this_page_component()"> + ${parent.make_this_page_component()} + + + + +${parent.body()}