Add other donation fields to donate theme / extension

This commit is contained in:
Benjamin Southall 2016-10-08 00:47:55 +09:00
parent ea9da7da61
commit c0d1f60752
2 changed files with 10 additions and 3 deletions

View File

@ -32,7 +32,9 @@
<p>Cost per month {{ settings.monthlyamount }}</p> <p>Cost per month {{ settings.monthlyamount }}</p>
<p>Funds from stickers {{ settings.currentamount }} </p> <p>Funds from stickers {{ settings.stickeramount }} </p>
<p>Funds from other donations {{ settings.otheramount }} </p>
<div class="container"> <div class="container">
<div class="{{ settings.progressbarcssclass }}"> <div class="{{ settings.progressbarcssclass }}">

View File

@ -24,8 +24,13 @@ $theme = array(
'type' => 'text', 'type' => 'text',
'default' => '$55'), 'default' => '$55'),
array('title' => 'Current Amount', array('title' => 'Current Sticker Amount',
'name' => 'currentamount', 'name' => 'stickeramount',
'type' => 'text',
'default' => '$0'),
array('title' => 'Current Other Donations Amount',
'name' => 'otheramount',
'type' => 'text', 'type' => 'text',
'default' => '$0'), 'default' => '$0'),