2023-03-23 21:55:34 +01:00
|
|
|
{% if page['menu'] %}
|
2021-04-10 22:19:05 +02:00
|
|
|
{% set menu = 'true' %}
|
|
|
|
{% else %}
|
|
|
|
{% set menu = 'false' %}
|
|
|
|
{% endif %}
|
|
|
|
|
2023-03-23 21:55:34 +01:00
|
|
|
{% if page['featured'] %}
|
2021-04-10 22:19:05 +02:00
|
|
|
{% set featured = 'true' %}
|
|
|
|
{% else %}
|
|
|
|
{% set featured = 'false' %}
|
|
|
|
{% endif %}
|
|
|
|
|
2023-03-23 21:55:34 +01:00
|
|
|
{% if page['published'] %}
|
2021-04-10 22:19:05 +02:00
|
|
|
{% set published = 'true' %}
|
|
|
|
{% else %}
|
|
|
|
{% set published = 'false' %}
|
|
|
|
{% endif %}
|
2023-03-23 21:55:34 +01:00
|
|
|
<br>
|
2023-07-25 12:51:26 +02:00
|
|
|
<button id="option-menu-pin" class="option-inactive post-option-btn" aria-pressed="{{ menu }}" data-active="{{ menu }}" title='Pin to Menu'>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="option-page-icon" role="icon">
|
|
|
|
<use id="option-page-icon" xlink:href="/assets/images/global/sprite.svg#entypo-add-to-list"/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
2023-07-25 12:51:26 +02:00
|
|
|
<button id="option-feature" class="option-inactive post-option-btn" aria-pressed="{{ featured }}" data-active="{{ featured }}" title='Feature'>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="option-feature-icon" role="icon">
|
|
|
|
<use id="option-feature-icon" xlink:href="/assets/images/global/sprite.svg#entypo-star"/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
2023-07-25 12:51:26 +02:00
|
|
|
<button id="option-published" class="option-inactive post-option-btn" aria-pressed="{{ published }}" data-active="{{ published }}" title='Published'>
|
2023-03-23 21:55:34 +01:00
|
|
|
<svg id="option-published-icon" role="icon">
|
|
|
|
<use id="option-published-icon" xlink:href="/assets/images/global/sprite.svg#entypo-globe"/>
|
2021-11-18 23:59:59 +01:00
|
|
|
</svg>
|
2023-03-23 21:55:34 +01:00
|
|
|
</button>
|
|
|
|
<a href="/dashboard/page/preview/{{ uuid }}" target="_blank">
|
|
|
|
<button id="option-preview" class="option-inactive post-option-btn" data-active="false" title='preview page'>
|
|
|
|
<svg id="option-preview-icon" role="icon">
|
|
|
|
<use id="option-preview-icon" xlink:href="/assets/images/global/sprite.svg#entypo-eye"/>
|
2021-11-22 23:24:26 +01:00
|
|
|
</svg>
|
|
|
|
</button>
|
2023-03-23 21:55:34 +01:00
|
|
|
</a>
|