1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00
documize/gui/app/templates/components/document/document-history.hbs

18 lines
670 B
Handlebars
Raw Normal View History

2017-03-09 12:51:21 +00:00
{{ui-select tagName="span" class="revision-picker" content=revisions action=(action 'onSelectRevision') optionValuePath="id" optionLabelPath="label"}}
<div id="restore-history-button" class="regular-button button-green pull-right">Restore</div>
{{#dropdown-dialog target="restore-history-button" position="bottom right" button="Restore" color="flat-green" onAction=(action 'onRollback')}}
<p>Are you sure you want to roll back to this version?</p>
{{/dropdown-dialog}}
<div class="clearfix" />
<div class="margin-bottom-50" />
2017-03-08 17:32:46 +00:00
<div class="diff-zone">
{{#if hasDiff}}
<div class="is-a-page wysiwyg">
{{{diff}}}
2016-11-30 17:56:36 -08:00
</div>
2017-03-08 17:32:46 +00:00
{{/if}}
<div class="clearfix" />
2016-11-30 17:56:36 -08:00
</div>