{extends "idf/base.html"} {block tabsource} class="active"{/block} {block subtabs} {if array_key_exists($commit, $branches)}{assign $currentCommit = $commit}{else}{assign $currentCommit = $project.getScmRoot()}{/if}