Преглед изворни кода

ensure not to show presentation button when page is not exists

Yuki Takei пре 8 година
родитељ
комит
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 %}