Apply the context area changes to git and hg scm views as well
(partially resolves issue 601)
This commit is contained in:
parent
ccb1bd33d4
commit
4eb34044ff
@ -1,17 +1,38 @@
|
|||||||
{extends "idf/source/changelog.html"}
|
{extends "idf/source/changelog.html"}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br/>
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::changeLog', 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/>
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$branch}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
@ -1,18 +1,39 @@
|
|||||||
{extends "idf/source/commit.html"}
|
{extends "idf/source/commit.html"}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br/>
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
||||||
<span class="label{if in_array($branch, $tree_in)} active{/if}"><a href="{$url}" class="label">{$branch}</a></span><br/>
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$branch}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<table class="code" summary=" ">
|
<table class="code" summary=" ">
|
||||||
{if !$tree_in and !$tags_in}
|
{if !$tree_in and !$tags_in}
|
||||||
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><th colspan="2">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br/>
|
<tr><th colspan="2">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br/>
|
||||||
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>
|
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>
|
||||||
@ -22,20 +22,41 @@
|
|||||||
|
|
||||||
{/block}
|
{/block}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br/>
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', 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/>
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$branch}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block javascript}
|
{block javascript}
|
||||||
|
@ -52,18 +52,39 @@
|
|||||||
|
|
||||||
{/block}
|
{/block}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br/>
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', 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/>
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$branch}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
@ -1,18 +1,39 @@
|
|||||||
{extends "idf/source/changelog.html"}
|
{extends "idf/source/changelog.html"}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br />
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::changeLog', 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 />
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$branch}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{$tag}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$tag}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
@ -1,18 +1,39 @@
|
|||||||
{extends "idf/source/commit.html"}
|
{extends "idf/source/commit.html"}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br/>
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
||||||
<span class="label{if in_array($branch, $tree_in)} active{/if}"><a href="{$url}" class="label">{$branch}</a></span><br/>
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$branch}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{if $path}{$path}{else}{$tag}{/if}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<table class="code" summary=" ">
|
<table class="code" summary=" ">
|
||||||
{if !$tree_in}
|
{if !$tree_in}
|
||||||
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><th colspan="2">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br />
|
<tr><th colspan="2">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br />
|
||||||
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>
|
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>
|
||||||
@ -23,20 +23,40 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br />
|
<div class="expander">
|
||||||
{foreach $branches as $branch => $path}
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
||||||
<span class="label{if in_array($branch, $tree_in)} active{/if}"><a href="{$url}" class="label">{$branch}</a></span><br />
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$branch}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}
|
{if $tags}
|
||||||
<p><strong>{trans 'Tags:'}</strong><br/>
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::tree', array($project.shortname, 'HEAD', $path)}
|
{aurl 'url', 'IDF_Views_Source::tree', array($project.shortname, 'HEAD', $path)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{$tag}</a></span><br/>
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$tag}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block javascript}
|
{block javascript}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<th>{trans 'Size'}</th>
|
<th>{trans 'Size'}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>{if !$tree_in and !$tags_in}
|
</thead>{if !$tree_in and !$tags_in}
|
||||||
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><th colspan="5">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br />
|
<tr><th colspan="5">{blocktrans}Source at commit <a class="mono" href="{$url}">{$commit}</a> created {$cobject.date|dateago}.{/blocktrans}<br />
|
||||||
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>
|
<span class="smaller">{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}</span>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<td{if $file.type != 'blob'} colspan="4"{/if}><a href="{$url}">{$file.file}</a></td>
|
<td{if $file.type != 'blob'} colspan="4"{/if}><a href="{$url}">{$file.file}</a></td>
|
||||||
{if $file.type == 'blob'}
|
{if $file.type == 'blob'}
|
||||||
{if isset($file.date)}
|
{if isset($file.date)}
|
||||||
<td><span class="smaller">{$file.date|dateago:"without"}</span></td>
|
<td><span class="smaller">{$file.date|dateago:"without"}</span></td>
|
||||||
<td><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {$file.log}</span></td>
|
<td><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {$file.log}</span></td>
|
||||||
{else}<td colspan="2"></td>{/if}
|
{else}<td colspan="2"></td>{/if}
|
||||||
<td></td>{/if}
|
<td></td>{/if}
|
||||||
@ -47,17 +47,40 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Branches:'}</strong><br />
|
<div class="expander">
|
||||||
|
<div class="gradient"></div>
|
||||||
|
<h1>
|
||||||
|
{trans 'Branches'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="branch-list" class="filter-list" title="{trans 'filter branches'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="branch-list">
|
||||||
{foreach $branches as $branch => $path}
|
{foreach $branches as $branch => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
|
||||||
<span class="label{if in_array($branch, $tree_in)} active{/if}"><a href="{$url}" class="label">{$branch}</a></span><br />
|
<li class="label{if in_array($branch, $tree_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$branch}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</ul>
|
||||||
{if $tags}<p><strong>{trans 'Tags:'}</strong><br />
|
{if $tags}
|
||||||
|
<h1>
|
||||||
|
{trans 'Tags'}
|
||||||
|
<div class="input-with-delete">
|
||||||
|
<input type="text" rel="tag-list" class="filter-list" title="{trans 'filter tags'}" />
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
<ul id="tag-list">
|
||||||
{foreach $tags as $tag => $path}
|
{foreach $tags as $tag => $path}
|
||||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $tag)}
|
||||||
<span class="label{if in_array($tag, $tags_in)} active{/if}"><a href="{$url}" class="label">{$tag}</a></span><br />
|
<li class="label{if in_array($tag, $tags_in)} active{/if}">
|
||||||
|
<a href="{$url}" class="label">{$tag}</a>
|
||||||
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>{/if}
|
</ul>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user