Skip to content
Snippets Groups Projects

ISTWCMS-7242: move show/hide inside main and make only show for logged in...

Merged Kevin Paxman requested to merge feature/ISTWCMS-7242-kpaxman-show_hide_fix into 1.1.x
{% set main_classes = 'uw-main' %}
<!-- Button for show and hide of admin -->
<button class="uw-show-hide" id="revision-show-hide" title="Show/hide revision elements">±</button>
<!-- end -->
{% for class in classes %}
{% set main_classes = main_classes ~ ' ' ~ class %}
{% endfor %}
@@ -10,4 +7,11 @@
{% block content %}
Main content
{% endblock %}
{% if logged_in and user.hasPermission('create and edit custom blocks') %}
<!-- Button for show and hide of admin -->
<button class="uw-show-hide" id="revision-show-hide" title="Show/hide revision elements">±</button>
<!-- end -->
{% endif %}
</main>
Loading