mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 12:44:57 +03:00
b2d4dd4f17
Closes #3079 - new controller and template for invite-new-user-modal - actually triggers email invite via POST /ghost/api/v0.1/users/ - setting default language value (on the client) when creating a user - only available role is "Author" - pending 3196 - updates to UsersIndexController to allow dynamic property calculation and template rending
23 lines
1.0 KiB
Handlebars
23 lines
1.0 KiB
Handlebars
<div id="modal-container" {{action bubbles=false preventDefault=false}}>
|
|
<article {{bind-attr class="klass :js-modal"}}>
|
|
<section class="modal-content">
|
|
{{#if title}}<header class="modal-header"><h1>{{title}}</h1></header>{{/if}}
|
|
{{#if showClose}}<a class="close" href="" title="Close" {{action "closeModal"}}><span class="hidden">Close</span></a>{{/if}}
|
|
<section class="modal-body">
|
|
{{yield}}
|
|
</section>
|
|
{{#if confirm}}
|
|
<footer class="modal-footer">
|
|
<button {{bind-attr class="acceptButtonClass :js-button-accept"}} {{action "confirm" "accept"}}>
|
|
{{confirm.accept.text}}
|
|
</button>
|
|
<button {{bind-attr class="rejectButtonClass :js-button-reject"}} {{action "confirm" "reject"}}>
|
|
{{confirm.reject.text}}
|
|
</button>
|
|
</footer>
|
|
{{/if}}
|
|
</section>
|
|
</article>
|
|
</div>
|
|
<div class="modal-background fade" {{action "closeModal"}}></div>
|