mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-08 04:03:12 +03:00
d0f6dd7fef
refs https://github.com/TryGhost/Team/issues/559 - switched to new ember-promise-modals pattern - removed controller and template in favor of opening modals directly from the route - removed unused `mousedown` event handlers - they are only necessary when an input blur would trigger validation errors - fixed Enter key not triggering create action by adding an `{{on-key "Enter"}}` event handler to the name input - fixed scroll not resetting to top of integrations screens when navigating between them by adding `{{scroll-top}}` element modifier to the main content sections
22 lines
764 B
Handlebars
22 lines
764 B
Handlebars
<div class="modal-content" data-test-modal="limits/custom-integration">
|
|
<header class="modal-header">
|
|
<h1>Upgrade to enable custom integrations</h1>
|
|
</header>
|
|
<button class="close" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
|
|
|
<div class="modal-body">
|
|
<p>
|
|
{{html-safe @data.message}}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button {{on "click" @close}} class="gh-btn" data-test-button="cancel-upgrade">
|
|
<span>Cancel</span>
|
|
</button>
|
|
|
|
<LinkTo @route="pro" class="gh-btn gh-btn-green" {{on "click" @close}} data-test-button="upgrade-plan">
|
|
<span>Upgrade my plan</span>
|
|
</LinkTo>
|
|
</div>
|
|
</div> |