Skip to content

Commit 52f9144

Browse files
Add editable content blocks to several pages
1 parent 74b4419 commit 52f9144

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

html-templates/contact/contact.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<h1>Contact Us</h1>
1919
</div>
2020

21+
{contentBlock "contact-introduction"}
22+
2123
<form action="/contact" method="POST" class="contact-form">
2224
{if $validationErrors}
2325
<div class="alert alert-danger">

html-templates/people/people.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<h1>{_ "Registered Members"} <span class="badge">{$membersTotal|number_format}</span></h1>
1515
</div>
1616

17+
{contentBlock "members-browse-introduction"}
18+
1719
<div class="row">
1820
<div class="col-sm-4 col-md-3">
1921
<div class="tags-ct">

html-templates/projects/projects.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
</div>
2121
<h1>{_ "Civic Projects Directory"} <span class="badge">{$projectsTotal|number_format}</span></h1>
2222
</header>
23+
24+
{contentBlock "projects-browse-introduction"}
25+
2326
<div class="row">
2427
<div class="col-sm-4 col-md-3 tags-ct">
2528
<div class="btn-group btn-group-justified btn-group-xs margin-bottom" role="group">

html-templates/register/register.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
{block "content"}
1414
{$User = $data}
1515

16-
{contentBlock "register-introduction"}
17-
1816
<div class="row">
1917
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
2018
<div class="page-header">
2119
<h1>{_("Register with %s")|sprintf:Laddr::$siteName|escape}!</h1>
2220
</div>
21+
22+
{contentBlock "register-introduction"}
23+
2324
<form method="POST" id="register">
2425
{strip}
2526
{if $User->validationErrors}

0 commit comments

Comments
 (0)