Blame view

frontend/views/basket/cart.php 480 Bytes
950817c6   Alex Savenko   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?php
      use yii\bootstrap\Html;
      use yii\web\View;
      
      /**
       * @var View $this
       * @var int  $count
       */
  ?>
  <span class="badge"><?= $count; ?></span>
  <?php
      echo Html::a(
          Html::tag(
              'span',
              \Yii::t('app', 'Корзина'),
              [
                  'class' => 'sub-title',
              ]
          ),
          [
              '/checkout/index',
          ],
          [
              'class' => 'cart-item-link',
          ]
      );
  ?>