Logo white

Anastasia / cloud-bank

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • cloud-bank
  • frontend
  • views
  • basket
  • cart.php
  • all
    6ba3c88a
    Alex Savenko authored
    2017-09-13 17:44:37 +0300  
    Browse Code »
cart.php 488 Bytes
Edit Raw Blame History
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 28 29
<?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',
        ]
    ),
    [
        '#',
    ],
    [
        'class' => 'cart-item-link',
        'data-toggle'   =>  'modal',
        'data-target'   =>  '#basket-modal',
    ]
);
?>