woocommerce/apigen/theme-woocommerce/package.latte

24 lines
679 B
Plaintext
Raw Normal View History

2015-01-16 16:06:58 +00:00
{layout '@layout.latte'}
{var $active = 'package'}
{block title}{if $package != 'None'}Package {$package}{else}No package{/if}{/block}
{block content}
<div id="content" class="package">
<h1>{if $package != 'None'}Package {$package|packageLinks:false|noescape}{else}No package{/if}</h1>
2015-11-20 10:05:33 +00:00
{if $subpackages}
<div class="panel panel-default">
<div class="panel-heading"><h2>Packages summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="packages">
<tr n:foreach="$subpackages as $package">
<td class="name"><a href="{$package|packageUrl}">{$package}</a></td>
</tr>
</table>
</div>
{/if}
2015-01-16 16:06:58 +00:00
{include '@elementlist.latte'}
</div>
{/block}