소스 검색

ensure not to show cancel button when not logged in

Yuki Takei 9 년 전
부모
커밋
29b96272df
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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">