Fixed issue 249, in the changelog switching to another branch must stay in the changelog.

This commit is contained in:
Andrew Nguyen 2009-07-14 22:23:30 +02:00 committed by Loic d'Anterroches
parent 82e2684004
commit ba18f30c4f
2 changed files with 2 additions and 2 deletions

View File

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

View File

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