Skip to content

Commit

Permalink
Add editable content blocks to several pages
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Aug 28, 2017
1 parent 74b4419 commit 52f9144
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions html-templates/contact/contact.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<h1>Contact Us</h1>
</div>

{contentBlock "contact-introduction"}

<form action="/contact" method="POST" class="contact-form">
{if $validationErrors}
<div class="alert alert-danger">
Expand Down
2 changes: 2 additions & 0 deletions html-templates/people/people.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<h1>{_ "Registered Members"} <span class="badge">{$membersTotal|number_format}</span></h1>
</div>

{contentBlock "members-browse-introduction"}

<div class="row">
<div class="col-sm-4 col-md-3">
<div class="tags-ct">
Expand Down
3 changes: 3 additions & 0 deletions html-templates/projects/projects.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
</div>
<h1>{_ "Civic Projects Directory"} <span class="badge">{$projectsTotal|number_format}</span></h1>
</header>

{contentBlock "projects-browse-introduction"}

<div class="row">
<div class="col-sm-4 col-md-3 tags-ct">
<div class="btn-group btn-group-justified btn-group-xs margin-bottom" role="group">
Expand Down
5 changes: 3 additions & 2 deletions html-templates/register/register.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
{block "content"}
{$User = $data}

{contentBlock "register-introduction"}

<div class="row">
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
<div class="page-header">
<h1>{_("Register with %s")|sprintf:Laddr::$siteName|escape}!</h1>
</div>

{contentBlock "register-introduction"}

<form method="POST" id="register">
{strip}
{if $User->validationErrors}
Expand Down

0 comments on commit 52f9144

Please sign in to comment.