Fix the branch links users of the Subversion frontend get when they enter

a wrong revision and only display this list if there are any branches
available for all SCMs.
This commit is contained in:
Thomas Keller
2011-06-11 00:47:54 +02:00
parent 2f30e4e2f6
commit 11a234e135
7 changed files with 42 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
<p>{blocktrans}The branch or revision <b>{$commit}</b> is not valid or does not exist
in this repository.{/blocktrans}</p>
{if count($branches) > 0}
<p>{blocktrans}The following list shows all available branches:{/blocktrans}</p>
<ul>
{foreach $branches as $branch => $path}
@@ -14,6 +15,7 @@ in this repository.{/blocktrans}</p>
</li>
{/foreach}
</ul>
{/if}
{if $isOwner or $isMember}
{aurl 'url', 'IDF_Views_Source::help', array($project.shortname)}