Skip to content

Commit 0c5737d

Browse files
committed
Show folder list on any admin template.
1 parent 94cd450 commit 0c5737d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

templates/core_2/ItemAdmin.tpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@
3636
</div>
3737
{/if}
3838

39+
<div class="gbBlock col-xs-6 col-sm-12 parents">
40+
<h2> {g->text text="Folders"} </h2>
41+
<ul class="">
42+
{strip}
43+
{foreach name=parent from=$theme.parents item=parent}
44+
<li>
45+
<a href="{g->url params=$parent.urlParams}" class="parents-{counter name="BreadCrumb"}">{$parent.title|markup:strip|default:$parent.pathComponent}</a>
46+
</li>
47+
{if isset($separator)} {$separator} {/if}
48+
{/foreach}
49+
50+
{/strip}
51+
</ul>
52+
</div>
3953
<div class="gbBlock col-xs-6 col-sm-12">
4054
<h2> {g->text text="Options"} </h2>
4155
<ul>

0 commit comments

Comments
 (0)