From ba18f30c4f550267776fbb00e8bf28721292d8d7 Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Tue, 14 Jul 2009 22:23:30 +0200 Subject: [PATCH] Fixed issue 249, in the changelog switching to another branch must stay in the changelog. --- src/IDF/templates/idf/source/git/changelog.html | 2 +- src/IDF/templates/idf/source/mercurial/changelog.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IDF/templates/idf/source/git/changelog.html b/src/IDF/templates/idf/source/git/changelog.html index 8c3ceb9..c384025 100644 --- a/src/IDF/templates/idf/source/git/changelog.html +++ b/src/IDF/templates/idf/source/git/changelog.html @@ -2,7 +2,7 @@ {block context}

{trans 'Branches:'}
{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)} {if $path}{$path}{else}{$branch}{/if}
{/foreach}

diff --git a/src/IDF/templates/idf/source/mercurial/changelog.html b/src/IDF/templates/idf/source/mercurial/changelog.html index 6557c89..c7893fe 100644 --- a/src/IDF/templates/idf/source/mercurial/changelog.html +++ b/src/IDF/templates/idf/source/mercurial/changelog.html @@ -2,7 +2,7 @@ {block context}

{trans 'Branches:'}
{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)} {$branch}
{/foreach}