Explorar el Código

hide presentation tab if portal page

Yuki Takei hace 8 años
padre
commit
2bf7002d10
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      lib/views/widget/page_tabs.html

+ 3 - 1
lib/views/widget/page_tabs.html

@@ -50,7 +50,9 @@
   {% endif %}
 
   <li class="nav-main-right-tab pull-right"><a href="#revision-history" data-toggle="tab"><i class="icon-layers"></i> History</a></li>
-  <li class="nav-main-right-tab pull-right"><a href="?presentation=1" class="toggle-presentation"><i class="icon-film"></i> {{ t('Presentation Mode') }}</a></li>
+  {% if not isPortal %}
+    <li class="nav-main-right-tab pull-right"><a href="?presentation=1" class="toggle-presentation"><i class="icon-film"></i> {{ t('Presentation Mode') }}</a></li>
+  {% endif %}
 
 </ul>