2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/base.html"}
|
2008-07-26 16:42:41 +00:00
|
|
|
{block tabsource} class="active"{/block}
|
|
|
|
{block subtabs}
|
2009-05-27 06:41:11 +00:00
|
|
|
{if !$inHelp and array_key_exists($commit, $branches)}{assign $currentCommit = $commit}{else}{assign $currentCommit = $project.getScmRoot()}{/if}
|
2008-07-26 16:42:41 +00:00
|
|
|
<div id="sub-tabs">
|
2009-05-26 19:47:54 +00:00
|
|
|
<a {if $inSourceTree}class="active" {/if}href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $currentCommit)}">{trans 'Source Tree'}</a> |
|
|
|
|
<a {if $inChangeLog}class="active" {/if}href="{url 'IDF_Views_Source::changeLog', array($project.shortname, $currentCommit)}">{trans 'Change Log'}</a>
|
2009-03-26 14:42:22 +00:00
|
|
|
{if $inCommit}| {trans 'Commit'}{/if} |
|
|
|
|
<a {if $inHelp}class="active" {/if}href="{url 'IDF_Views_Source::help', array($project.shortname)}">{trans 'How To Get The Code'}</a>
|
2008-07-26 16:42:41 +00:00
|
|
|
</div>
|
|
|
|
{/block}
|
|
|
|
{block title}{$title}{/block}
|