mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 04:08:34 +03:00
a1aa9be287
refs https://github.com/TryGhost/Team/issues/588 - When the email limit was reached the hardcoded "members" error message was shown. Have changed implementation of the upgrade modal to take the "message" coming from the server into account
21 lines
657 B
Handlebars
21 lines
657 B
Handlebars
|
|
<header class="modal-header" data-test-modal="delete-user">
|
|
<h1>Upgrade to enable publishing</h1>
|
|
</header>
|
|
<button class="close" title="Close" {{on "click" this.closeModal}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
|
|
|
<div class="modal-body">
|
|
<p>
|
|
{{html-safe upgradeMessage.message}}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button {{on "click" this.closeModal}} class="gh-btn" data-test-button="cancel-upgrade">
|
|
<span>Cancel</span>
|
|
</button>
|
|
|
|
<button {{on "click" (action "upgrade")}} class="gh-btn gh-btn-green" data-test-button="upgrade-plan">
|
|
<span>Upgrade</span>
|
|
</button>
|
|
</div> |