Added integration with git-daemon.

In the configuration it is possible to give a git daemon url to have it
displayed in the source view.
This commit is contained in:
Loic d'Anterroches
2008-08-04 21:24:07 +02:00
parent da1ddc4179
commit 6ad7ee8c71
4 changed files with 80 additions and 33 deletions

View File

@@ -44,6 +44,7 @@
</table>
{aurl 'url', 'IDF_Views_Source::download', array($project.shortname, $commit)}
<p class="right"><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/package.png'}" alt="{trans 'Archive'}" align="bottom" /></a> <a href="{$url}">{trans 'Download this version'}</a></p>
<p class="right"><kbd>git clone {$project.getGitDaemonUrl()}</kbd></p>
{/block}
{block context}