Browse Source

Merge pull request #2037 from weseek/imprv/trash-page-edit-fix

edit fix
Yuki Takei 6 years ago
parent
commit
58e7a8f8ab
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/server/views/widget/page_content.html

+ 6 - 4
src/server/views/widget/page_content.html

@@ -21,10 +21,12 @@
 
   {% include 'page_alerts.html' %}
 
-  {% if !getConfig('crowi', 'customize:layout') || 'kibela' === getConfig('crowi', 'customize:layout') %}
-    {% include 'page_tabs_kibela.html' %}
-  {% else %}
-    {% include 'page_tabs.html' %}
+  {% if !isTrashPage() %}
+    {% if !getConfig('crowi', 'customize:layout') || 'kibela' === getConfig('crowi', 'customize:layout') %}
+      {% include 'page_tabs_kibela.html' %}
+    {% else %}
+      {% include 'page_tabs.html' %}
+    {% endif %}
   {% endif %}
 
   <div class="tab-content">