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

add a button for creating portal when crowi-plus layout

Yuki Takei пре 9 година
родитељ
комит
f63e986001
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      lib/views/crowi-plus/widget/header.html

+ 7 - 0
lib/views/crowi-plus/widget/header.html

@@ -50,6 +50,13 @@
       </ul>
       </ul>
       {% endif %}
       {% endif %}
 
 
+      {% if not page and not isUserPageList(path) and !isTrashPage() %}
+      <div class="portal-form-button">
+        <button class="btn btn-primary" id="create-portal-button">Create Portal</button>
+        <p class="help-block"><a href="#" data-target="#help-portal" data-toggle="modal"><i class="fa fa-question-circle"></i> What is Portal?</a></p>
+      </div>
+      {% endif %}
+
     </div>
     </div>
 
 
   </header>
   </header>