Kaynağa Gözat

ensure not to show cancel button when not logged in

Yuki Takei 9 yıl önce
ebeveyn
işleme
29b96272df
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      lib/views/crowi-plus/new_page.html

+ 2 - 0
lib/views/crowi-plus/new_page.html

@@ -63,9 +63,11 @@
               </a>
             </li>
 
+            {% if user %}
             <li class="dropdown pull-right">
               <a href="#" onclick="history.back();"><i class="fa fa-times"></i> {{ t('Cancel') }}</a>
             </li>
+            {% endif %}
           </ul>
 
           <div class="tab-content wiki-content">