1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-23 19:02:29 +03:00
Ghost/ghost/admin/templates/modals/auth-failed-unsaved.hbs
Jason Williams 61361ac91b Show warning dialog if session has ended in editor
Closes 
- Display a warning modal in the editor routes if the user
  is logged out due to re-authorization problems.  This provides
  a chance to copy any unsaved content before being sent to the
  signin page to log back in.
2014-08-25 19:45:26 +00:00

9 lines
395 B
Handlebars

{{#gh-modal-dialog action="closeModal" showClose=true type="action" style="wide,centered" animation="fade"
title="Post NOT saved." confirm=confirm}}
<p>Hey there! Something has gone wrong and you have been logged out. It looks like you have unsaved content that will be lost if you leave this page.</p>
<p>Copy your content somewhere safe before you go!</p>
{{/gh-modal-dialog}}