Ghost/ghost/admin/templates/modals/delete-user.hbs
Paul Adam Davis 3324c41857 Use CSS animations for modals
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
2014-12-15 18:23:42 +00:00

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}}