show remote fork button only if user cannot write
[phorkie.git] / data / templates / display.htm
index 6d84c463a510613ec3ea9554adc15d316ff667ca..d6fd6469c78d6b30e9f7a0f21a7990dd2b2069bf 100644 (file)
@@ -1,6 +1,14 @@
 {% extends "base.htm" %}
-{% block title %}
- {{repo.getTitle}}
+{% block title %}{{repo.getTitle}}{% endblock %}
+
+{% block meta %}
+<link rel="meta" title="DOAP" type="application/rdf+xml" href="{{repo.getLink('doap')}}"/>
+{% if repo.getCloneURL(true) %}
+  <link rel="vcs-git" href="{{repo.getCloneURL(true)}}" title="{{repo.getTitle}}"/>
+{% endif %}
+{% if repo.getCloneURL(false) %}
+  <link rel="vcs-git" href="{{repo.getCloneURL(false)}}" title="{{repo.getTitle}}"/>
+{% endif %}
 {% endblock %}
 
 {% block content %}
@@ -14,5 +22,7 @@
 {% endblock %}
 
 {% block sidebar %}
+ {% include 'display-sidebar-owner.htm' %}
+ {% include 'display-sidebar-fork.htm' %}
  {% include 'display-sidebar-history.htm' %}
 {% endblock %}