add public design files
This commit is contained in:
12
design/carheart/html/brands_all.tpl
Normal file
12
design/carheart/html/brands_all.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{get_brands var=all_brands}
|
||||
{if $all_brands}
|
||||
<div class="brands row">
|
||||
{foreach $all_brands as $b}
|
||||
{if !$b->visible}{continue}{/if}
|
||||
<div class="brand col-sm-2 col-xs-4">
|
||||
<div class="brand-image">{if $b->image}<a class="w" href="/brands/{$b->url}/" data-brand="{$b->id}"><img class="img-thumbnail" src="/{$config->brands_images_dir}{$b->image}" alt="{$b->name}"></a>{/if}</div>
|
||||
<div class="brand-name"><a class="w" href="/brands/{$b->url}/" data-brand="{$b->id}">{$b->name}</a></div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user