Commits

Arjan Scherpenisse committed 5470875

installation details more clear

  • Participants
  • Parent commits c466674

Comments (0)

Files changed (1)

File templates/page.zmr_repository.tpl

     {{ 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>
     Project website: <a href="{{ m.rsc[id].website|default:m.rsc[id].zmr_repository_url }}">{{ m.rsc[id].website|default:m.rsc[id].zmr_repository_url }}</a>
 </p>
 
+
+<h2>Installation</h2>
+Zotonic >= 0.7:
+<pre>
+zotonic installmodule {{ m.rsc[id].title }}
+</pre>
+
+Zotonic <= 0.6:
+<pre>
+{{ m.rsc[id].zmr_repo_scm.zmr_command }} clone {{ m.rsc[id].zmr_repository_url }} {{ m.rsc[id].title }}
+</pre>
+
+
+
 {% include "_edit_button.tpl" %}
 
 <section id="comments">{% include "_comments.tpl" id=id %}</section>