add public design files
This commit is contained in:
31
design/atomic/html/cart_informer.tpl
Normal file
31
design/atomic/html/cart_informer.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{* Информера корзины (отдаётся аяксом) *}
|
||||
|
||||
{if $cart->total_products>0}
|
||||
<table id="top-cart-informer" class="notempty">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td rowspan="2" class="icon"><span class="glyphicon glyphicon-shopping-cart"></span></td>
|
||||
<td class="bsk_item">товаров: </td>
|
||||
<td class="bsk_value"><span id="b_count3">{$cart->total_products} {$cart->total_products|plural:'шт':'шт':'шт'}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bsk_item">на сумму: </td>
|
||||
<td class="bsk_value"><span id="b_sum3">{$cart->total_price|convert} {$currency->sign|escape}</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{else}
|
||||
<table id="top-cart-informer" class="empty">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td rowspan="2" class="icon"><span class="glyphicon glyphicon-shopping-cart"></span></td>
|
||||
<td class="bsk_item">товаров: </td>
|
||||
<td class="bsk_value"><span id="b_count3">0 шт.</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bsk_item">на сумму: </td>
|
||||
<td class="bsk_value"><span id="b_sum3">0 руб.</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user