Cosmetic improvements.
This commit is contained in:
parent
876e206742
commit
f57a0ec08b
@ -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,
|
||||
|
@ -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}
|
||||
|
@ -201,6 +201,10 @@ h1.project-title {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
span.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.helptext {
|
||||
font-size: 80%;
|
||||
color: #555753;
|
||||
|
Loading…
Reference in New Issue
Block a user