mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-08 07:12:46 +00:00
format html in result message
This commit is contained in:
parent
7ad6951b1c
commit
e0b2bd522b
@ -30,5 +30,5 @@ Visit `/admin/customize/site_texts` and search for 'discourse_donations'. You'll
|
||||
## TODO
|
||||
|
||||
* Donate when creating account
|
||||
* Add a plugin outlet for custom user fields.
|
||||
* Handle custom fields
|
||||
* Handle fails from stripe
|
||||
|
@ -60,18 +60,12 @@
|
||||
{{#if transactionInProgress}}
|
||||
{{loading-spinner size="small"}}
|
||||
{{/if}}
|
||||
|
||||
{{#if result}}
|
||||
<span>{{result}}</span>
|
||||
<p>{{{result}}}</p>
|
||||
{{/if}}
|
||||
{{#if success}}
|
||||
<p>{{i18n 'discourse_donations.messages.success'}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if success}}
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<span>{{i18n 'discourse_donations.messages.success'}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user