|
|
@@ -78,7 +78,7 @@
|
|
|
</a>
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
|
|
<a class="dropdown-item" href="#" data-target="#create-template" data-toggle="modal"><i class="icon-fw icon-magic-wand"></i> {{ t('template.option_label.create/edit') }}</a>
|
|
|
- {% if ('/' !== path) and isDeletablePage()%}
|
|
|
+ {% if not page.isTopPage() and isDeletablePage()%}
|
|
|
<a class="dropdown-item" href="#" data-target="#deletePage" data-toggle="modal"><i class="icon-fw icon-fire text-danger"></i> {{ t('Delete') }}</a>
|
|
|
{% endif %}
|
|
|
</div>
|