Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Nov 10, 2016
1 parent 556612e commit 3c6a02a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/dashboard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@
<?php $box->endBody() ?>
<?php $box->beginFooter() ?>
<?= Html::a(Yii::t('hipanel', 'View') . $box->icon(), '@bill/index', ['class' => 'small-box-footer']) ?>
<?= Html::a(Yii::t('hipanel', 'Recharge') . $box->icon('fa-credit-card-alt'), '@pay/deposit', ['class' => 'small-box-footer']) ?>
<?php if (Yii::$app->user->can('deposit')) : ?>
<?= Html::a(Yii::t('hipanel', 'Recharge') . $box->icon('fa-credit-card-alt'), '@pay/deposit', ['class' => 'small-box-footer']) ?>
<?php endif ?>
<?php $box->endFooter() ?>
<?php $box::end() ?>
</div>
Expand Down

0 comments on commit 3c6a02a

Please sign in to comment.