From 74b44192204c4d10a31b3ebb16d85223e1e85eaa Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 28 Aug 2017 19:21:45 -0400 Subject: [PATCH 1/2] Add editable content block to project edit page --- html-templates/projects/projectEdit.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html-templates/projects/projectEdit.tpl b/html-templates/projects/projectEdit.tpl index 9c63d841..53a0d678 100644 --- a/html-templates/projects/projectEdit.tpl +++ b/html-templates/projects/projectEdit.tpl @@ -25,6 +25,8 @@ + {contentBlock "projects-create-introduction"} + {if !$Project->isValid}
{_ "There were problems with your entry:"} From 52f91442ab36458543e6094d70e044f433982995 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 28 Aug 2017 19:37:21 -0400 Subject: [PATCH 2/2] Add editable content blocks to several pages --- html-templates/contact/contact.tpl | 2 ++ html-templates/people/people.tpl | 2 ++ html-templates/projects/projects.tpl | 3 +++ html-templates/register/register.tpl | 5 +++-- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/html-templates/contact/contact.tpl b/html-templates/contact/contact.tpl index fe138a6d..d750d66e 100644 --- a/html-templates/contact/contact.tpl +++ b/html-templates/contact/contact.tpl @@ -18,6 +18,8 @@

Contact Us

+ {contentBlock "contact-introduction"} +
{if $validationErrors}
diff --git a/html-templates/people/people.tpl b/html-templates/people/people.tpl index 480cba4e..e5d7b28c 100644 --- a/html-templates/people/people.tpl +++ b/html-templates/people/people.tpl @@ -14,6 +14,8 @@

{_ "Registered Members"} {$membersTotal|number_format}

+ {contentBlock "members-browse-introduction"} +
diff --git a/html-templates/projects/projects.tpl b/html-templates/projects/projects.tpl index 89cd1014..37f30536 100644 --- a/html-templates/projects/projects.tpl +++ b/html-templates/projects/projects.tpl @@ -20,6 +20,9 @@

{_ "Civic Projects Directory"} {$projectsTotal|number_format}

+ + {contentBlock "projects-browse-introduction"} +
diff --git a/html-templates/register/register.tpl b/html-templates/register/register.tpl index 3ae64948..13bd46da 100644 --- a/html-templates/register/register.tpl +++ b/html-templates/register/register.tpl @@ -13,13 +13,14 @@ {block "content"} {$User = $data} - {contentBlock "register-introduction"} -
+ + {contentBlock "register-introduction"} + {strip} {if $User->validationErrors}