Cosmetic improvements.

This commit is contained in:
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', return Pluf_Shortcuts_RenderToResponse('source/tree.html',
array( array(
'page_title' => $title, 'page_title' => $title,
'title' => $title,
'files' => $res, 'files' => $res,
'commit' => $commit, 'commit' => $commit,
'branches' => $branches, 'branches' => $branches,

View File

@ -38,7 +38,7 @@
<p><strong>{trans 'Branches:'}</strong><br /> <p><strong>{trans 'Branches:'}</strong><br />
{foreach $branches as $branch} {foreach $branches as $branch}
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $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} {/foreach}
</p> </p>
{/block} {/block}

View File

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