Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit 916b61c

Browse files
committed
Fix heading on SMS campaign template. Closes #6351.
1 parent 8530e97 commit 916b61c

File tree

1 file changed

+28
-21
lines changed

1 file changed

+28
-21
lines changed

lib/themes/dosomething/paraneue_dosomething/templates/campaign/node--campaign--sms-game.tpl.php

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -110,32 +110,39 @@
110110

111111
<section id="do" class="container container--do inline-alt-background-color">
112112
<div class="wrapper">
113-
<div class="container__block -narrow">
114-
<h2 class="heading -emphasized -inverse"><span><?php print t('Step 2: Do It'); ?></span></h2>
115-
<?php if (isset($starter_header)) : ?>
116-
<h3 class="inline-alt-text-color"><?php print $starter_header; ?></h3>
117-
<?php endif; ?>
118-
<?php if (isset($starter)) : ?>
119-
<div><?php print $starter['safe_value']; ?></div>
120-
<?php endif; ?>
113+
<div class="container__row">
114+
<div class="container__block -narrow">
115+
<h2 class="heading -emphasized -inverse"><span><?php print t('Step 2: Do It'); ?></span></h2>
116+
</div>
121117
</div>
118+
<div class="container__row">
119+
<div class="container__block -narrow">
120+
<?php if (isset($starter_header)) : ?>
121+
<h3 class="inline-alt-text-color"><?php print $starter_header; ?></h3>
122+
<?php endif; ?>
123+
<?php if (isset($starter)) : ?>
124+
<div><?php print $starter['safe_value']; ?></div>
125+
<?php endif; ?>
126+
</div>
122127

123-
<?php if (isset($signup_form)) : ?>
124-
<?php print render($signup_form); ?>
125-
<?php endif; ?>
128+
<?php if (isset($signup_form)) : ?>
129+
<?php print render($signup_form); ?>
130+
<?php endif; ?>
131+
</div>
132+
<div class="container__row">
133+
<div class="container__block -narrow">
134+
<?php if (isset($official_rules)): ?>
135+
<p class="footnote">
136+
<a class="official-rules" href="<?php print $official_rules_src; ?>"><?php print t('Official Rules'); ?></a>
137+
</p>
138+
<?php endif; ?>
126139

127-
<div class="container__block -narrow">
128-
<?php if (isset($official_rules)): ?>
129140
<p class="footnote">
130-
<a class="official-rules" href="<?php print $official_rules_src; ?>"><?php print t('Official Rules'); ?></a>
141+
<?php
142+
print t('Taking part in this experience means you agree to our !terms_link &amp; to receive our weekly update. Message &amp; data rates may apply. Text STOP to opt-out, HELP for help.',
143+
['!terms_link' => l(t('Terms of Service'), 'about/terms-service')]); ?>
131144
</p>
132-
<?php endif; ?>
133-
134-
<p class="footnote">
135-
<?php
136-
print t('Taking part in this experience means you agree to our !terms_link &amp; to receive our weekly update. Message &amp; data rates may apply. Text STOP to opt-out, HELP for help.',
137-
['!terms_link' => l(t('Terms of Service'), 'about/terms-service')]); ?>
138-
</p>
145+
</div>
139146
</div>
140147
</div>
141148

0 commit comments

Comments
 (0)