mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 21:04:49 -04:00
Tweak donation banners and some type safety
This commit is contained in:
parent
c07b4cec1e
commit
0105bfefa4
3 changed files with 5 additions and 4 deletions
|
@ -63,7 +63,7 @@ if($donationDrive->IsStretchEnabled){
|
|||
</header>
|
||||
<? }else{ ?>
|
||||
<header>
|
||||
<p>Help us meet our stretch goal of<br/> <?= number_format($donationDrive->TargetDonationCount) ?> new patrons by <?= $deadline ?></p>
|
||||
<p><? if($timeLeft->days <= 1){ ?><?= $timeString ?> left—<br/>Help us meet our stretch goal of<br/> <?= number_format($donationDrive->TargetDonationCount) ?> new patrons<? }else{ ?>Help us meet our stretch goal of<br/> <?= number_format($donationDrive->TargetDonationCount) ?> new patrons by <?= $deadline ?><? } ?></p>
|
||||
</header>
|
||||
<? } ?>
|
||||
<div class="progress"<? if($donationDrive->IsStretchEnabled){ ?> style="--stretch-starting-position: <?= $stretchStartingPosition ?>%; --stretch-base-counter-position: <?= $stretchStartingPosition - 1 ?>%"<? } ?>>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue