Explorar o código

add tab for kibela

yusuketk %!s(int64=7) %!d(string=hai) anos
pai
achega
9c8f648406
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      src/server/views/widget/page_content.html

+ 5 - 5
src/server/views/widget/page_content.html

@@ -14,11 +14,11 @@
 
   {% include 'page_alerts.html' %}
 
-
- <!--
-    kibela layoutのために一時差し替え
-  {% include 'page_tabs.html' %} -->
-  {% include 'page_tabs_kibela.html' %}
+  {% if !layoutType() || 'kibela' === layoutType() %}
+    {% include 'page_tabs_kibela.html' %}
+  {% else %}
+    {% include 'page_tabs.html' %}
+  {% endif %}
 
   <div class="tab-content">