Fixed issue 18, link to download/git clone in the tree view visually annoying.

This commit is contained in:
Loic d'Anterroches 2008-08-11 15:27:40 +02:00
parent 88d39faed7
commit 1cf3a73fe1
3 changed files with 9 additions and 2 deletions

View File

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

View File

@ -41,6 +41,14 @@
font-family: monospace;
}
.soft {
color: #777;
}
.soft a {
color: #777;
}
div.context {
padding-left: 1em;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B