warn about non-configured search adapter during indexing
[phorkie.git] / data / templates / display-head.htm
1 {% include 'flashmessages.htm' %}
2
3 <h1>{{repo.getTitle}}</h1>
4 <div class="row repo-info">
5  <div class="span7">
6   <a class="btn" href="{{repo.getLink('edit')}}"><i class="icon-edit"></i> edit</a>
7  </div>
8  <div class="span2 pull-right">
9   <form method="post" action="{{repo.getLink('fork')}}">
10    <div class="btn-group pull-right">
11     {% if htmlhelper.mayWriteLocally %}
12     <button type="submit" class="btn"><i class="icon-share"></i> fork</button>
13     {% else %}
14     <a class="btn" href="{{repo.getLink('remotefork')}}"><i class="icon-share"></i> Fork to remote system</a>
15     {% endif %}
16     <button class="btn dropdown-toggle" data-toggle="dropdown">
17      <span class="caret"></span>
18     </button>
19     <ul class="dropdown-menu">
20      {% if htmlhelper.mayWriteLocally %}
21      <li><a href="{{repo.getLink('remotefork')}}"><i class="icon-share"></i> Fork to remote system</a></li>
22      <li class="divider"></li>
23      {% endif %}
24      <li><a href="help#remote-forking"><i class="icon-question-sign"></i> Help on remote forking</a></li>
25     </ul>
26    </div>
27   </form>
28  </div>
29 </div>
30
31 {% if repo.getCloneURL(true) or repo.getCloneURL(false) %}
32 <div class="urlinfo well well-small">
33  {% if repo.getCloneURL(true) %}
34  <div class="row-fluid">
35   <div class="span3">Public clone URL</div>
36   <div class="span9">
37    <a href="{{repo.getCloneURL(true)}}">{{repo.getCloneURL(true)}}</a>
38   </div>
39  </div>
40  {% endif %}
41  {% if repo.getCloneURL(false) %}
42  <div class="row-fluid">
43   <div class="span3">Private clone URL</div>
44   <div class="span9">
45    <a href="{{repo.getCloneURL(false)}}">{{repo.getCloneURL(false)}}</a>
46   </div>
47  </div>
48  {% endif %}
49 </div>
50 {% endif %}