Cosmetic improvements.

newdiff
Loic d'Anterroches 2008-07-26 20:17:18 +02:00
parent 876e206742
commit f57a0ec08b
3 changed files with 6 additions and 1 deletions

View File

@ -45,6 +45,7 @@ class IDF_Views_Source
return Pluf_Shortcuts_RenderToResponse('source/tree.html',
array(
'page_title' => $title,
'title' => $title,
'files' => $res,
'commit' => $commit,
'branches' => $branches,

View File

@ -38,7 +38,7 @@
<p><strong>{trans 'Branches:'}</strong><br />
{foreach $branches as $branch}
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
<span class="label"><a href="{$url}" class="label">{$branch}</a></span><br />
<span class="label{if $commit == $branch} active{/if}"><a href="{$url}" class="label">{$branch}</a></span><br />
{/foreach}
</p>
{/block}

View File

@ -201,6 +201,10 @@ h1.project-title {
font-size: 90%;
}
span.active {
font-weight: bold;
}
.helptext {
font-size: 80%;
color: #555753;