mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
3324c41857
No issue - Changes Modals to use CSS-based animations - All modals have an animation, so the option is removed from the handlebars helper - Removes `animation` from the handlebars helper, as all had one anyway - Removed the `centered` style - All modals should be left-aligned - Buttons now default to being on the left - Cleans up some styles (modal body top spacing) which #4632 helped clean up
13 lines
622 B
Handlebars
13 lines
622 B
Handlebars
{{#gh-modal-dialog action="closeModal" showClose=true type="action" style="wide"
|
|
title="Are you sure you want to delete this user?" confirm=confirm}}
|
|
|
|
{{#unless userPostCount.isPending}}
|
|
{{#if userPostCount.count}}
|
|
<strong>WARNING:</strong> <span class="red">This user is the author of {{userPostCount.count}} {{userPostCount.inflection}}.</span> All posts and user data will be deleted. There is no way to recover this.
|
|
{{else}}
|
|
<strong>WARNING:</strong> All user data will be deleted. There is no way to recover this.
|
|
{{/if}}
|
|
{{/unless}}
|
|
|
|
{{/gh-modal-dialog}}
|