Make titlecasing in <h1> and page titles consistent

This commit is contained in:
Alex Cabal 2024-12-13 14:16:39 -06:00
parent e8f958558a
commit 77ce4cc6b4
18 changed files with 44 additions and 36 deletions

View file

@ -19,10 +19,10 @@ catch(Exceptions\AppException){
Template::Emit404();
}
?><?= Template::Header(['title' => 'Thank you for voting!', 'highlight' => '', 'description' => 'Thank you for voting in a Standard Ebooks poll!']) ?>
?><?= Template::Header(['title' => 'Your Vote Has Been Recorded!', 'highlight' => '', 'description' => 'Thank you for voting in a Standard Ebooks poll!']) ?>
<main>
<section class="narrow">
<h1>Your vote has been recorded!</h1>
<h1>Your Vote Has Been Recorded!</h1>
<? if($created){ ?>
<p class="center-notice">Thank you for voting in the <a href="<?= $vote->PollItem->Poll->Url ?>"><?= Formatter::EscapeHtml($vote->PollItem->Poll->Name) ?> poll</a>.</p>
<? }else{ ?>

View file

@ -49,7 +49,7 @@ catch(Exceptions\PollVoteExistsException $ex){
header('Location: ' . $redirect);
exit();
}
?><?= Template::Header(['title' => $poll->Name . ' - Vote Now', 'highlight' => '', 'description' => 'Vote in the ' . $poll->Name . ' poll']) ?>
?><?= Template::Header(['title' => 'Vote in the ' . $poll->Name . ' Poll', 'highlight' => '', 'description' => 'Vote in the ' . $poll->Name . ' poll']) ?>
<main>
<section class="narrow">
<h1>Vote in the <?= Formatter::EscapeHtml($poll->Name) ?> Poll</h1>