Commits

Arjan Scherpenisse committed 088e7db

Frontend template tweaks.

  • Participants
  • Parent commits 65d0028

Comments (0)

Files changed (2)

File templates/page.tpl

-{% extends "base.tpl" %}
-
-{% block content %}
-
-	<h1>{{ m.rsc[id].title }}</h1>
-
-	<p class="summary">
-	    {{ m.rsc[id].summary }}
-	</p>
-
-<pre>
-{{ m.rsc[id].zmr_repository_url }}
-</pre>
-
-	{{ m.rsc[id].body|show_media }}
-
-<p>
-    <a href="{{ m.rsc[id].zmr_repository_url }}">Visit repository site &raquo;</a>
-</p>
-
-	<section id="comments">{% include "_comments.tpl" id=id %}</section>
-	
-{% endblock %}
-
-{% block sidebar %}
-{% endblock %}

File templates/page.zmr_repository.tpl

+{% extends "base.tpl" %}
+
+{% block content %}
+
+<h1>{{ m.rsc[id].title }}</h1>
+
+<p class="summary">
+    {{ m.rsc[id].summary }}
+</p>
+
+<pre>
+{{ m.rsc[id].zmr_repo_scm.zmr_command }} clone {{ m.rsc[id].zmr_repository_url }} {{ m.rsc[id].title }}
+</pre>
+
+{{ m.rsc[id].body|show_media }}
+
+<p>
+    SCM system: {{ m.rsc[id].zmr_repo_scm.title  }}<br />
+    <a href="{{ m.rsc[id].zmr_repository_url }}">Visit repository site &raquo;</a>
+</p>
+
+
+<section id="comments">{% include "_comments.tpl" id=id %}</section>
+
+{% endblock %}
+
+{% block sidebar %}
+{% endblock %}