Minor fix for the footer div in preview pages.

This commit is contained in:
Bart Kamphorst
2019-08-14 17:07:51 +02:00
parent 92b17f9053
commit 19868a10ef
+9 -7
View File
@@ -40,15 +40,17 @@
</div> </div>
{{^preview}}
<div id="footer" class="pt-4"> <div id="footer" class="pt-4">
<p id="last-edit"><a id="page-info-toggle" data-pagepath="{{escaped_url_path}}">When was this page last modified?</a></p> {{^preview}}
{{#allow_editing}} <p id="last-edit"><a id="page-info-toggle" data-pagepath="{{escaped_url_path}}">When was this page last modified?</a></p>
<p> {{#allow_editing}}
<a id="delete-link" href="{{escaped_url_path}}" data-confirm="Are you sure you want to delete this page?"><span>Delete this Page</span></a> <p>
</p> <a id="delete-link" href="{{escaped_url_path}}" data-confirm="Are you sure you want to delete this page?"><span>Delete this Page</span></a>
</p>
{{/allow_editing}} {{/allow_editing}}
{{/preview}}
</div> </div>
{{/preview}}
</div> </div>