Merge pull request #7 from chrisbeach/donate_page_description
Add page description setting
This commit is contained in:
commit
23e30c7db8
|
@ -1,4 +1,7 @@
|
|||
<h1>{{i18n 'discourse_donations.title'}}</h1>
|
||||
<div style="padding-top: 60px;">
|
||||
<h1>{{i18n 'discourse_donations.title' site_name=siteSettings.title}}</h1>
|
||||
<div class="donations-page-description">
|
||||
{{cook-text siteSettings.discourse_donations_page_description}}
|
||||
</div>
|
||||
<div class="donations-page-payment">
|
||||
{{stripe-card}}
|
||||
</div>
|
||||
|
|
|
@ -5,3 +5,13 @@ div.stripe-errors {
|
|||
background-color: #fdd;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.donations-page-description {
|
||||
max-width: 700px;
|
||||
font-size: 1.1em;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.donations-page-payment {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
|
|
@ -11,6 +11,8 @@ en:
|
|||
discourse_donations_billing_address: "Collect billing address"
|
||||
discourse_donations_reward_badge_name: "Grant this badge to user when a payment is successful"
|
||||
discourse_donations_reward_group_name: "Add the user to this group when a payment is successful"
|
||||
discourse_donations_page_description: "Text to be added to /donate page. Markdown is supported."
|
||||
|
||||
js:
|
||||
discourse_donations:
|
||||
title: Donate
|
||||
|
|
|
@ -32,3 +32,6 @@ plugins:
|
|||
discourse_donations_reward_group_name:
|
||||
client: false
|
||||
default: 'Donation'
|
||||
discourse_donations_page_description:
|
||||
client: true
|
||||
default: ''
|
||||
|
|
Loading…
Reference in New Issue