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',
|
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,
|
||||||
|
@ -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}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user