Make phorkie search engine friendlier
[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')}}" rel="nofollow"><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>