瀏覽代碼

ensure not to show presentation button when page is not exists

Yuki Takei 9 年之前
父節點
當前提交
2f2122ed78
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/views/page.html

+ 1 - 1
lib/views/page.html

@@ -146,8 +146,8 @@
     </li>
     {% if page %}
     <li class="pull-right"><a href="#revision-history" data-toggle="tab"><i class="fa fa-history"></i> History</a></li>
-    {% endif %}
     <li class="pull-right"><a href="?presentation=1" class="toggle-presentation"><i class="fa fa-film"></i> {{ t('Presentation Mode') }}</a></li>
+    {% endif %}
   </ul>
   {% endif %}