add public design files
This commit is contained in:
13
design/carheart/html/articles_like_brands.tpl
Normal file
13
design/carheart/html/articles_like_brands.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{if $article_category->subcategories}
|
||||
<div class="brands row">
|
||||
{foreach from=$article_category->subcategories item=c}
|
||||
{if !$c->visible}{continue}{/if}
|
||||
<div class="brand col-sm-2 col-xs-4">
|
||||
<div class="brand-image">{if $c->image}<a class="w" href="/nashi-raboty/{$c->url}/" data-articlecategory="{$c->id}">
|
||||
<img class="img-thumbnail" src="{$c->image|resize:100:100}" alt="{$c->name}"></a>{/if}</div>
|
||||
<div class="brand-name"><a class="w" href="/nashi-raboty/{$c->url}/" data-articlecategory="{$c->id}">{$c->name}</a></div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user