<?php
$actionName = $this->shopHelper()->getAction();
?>
<div class="more">
    <?php if ($actionName != 'recharge') { ?>
        <a class="btn btn-small btn-primary" href="<?php echo $this->url('home-user-balance', ['action' => 'recharge']); ?>"><?php echo $this->translate('现金充值'); ?></a>
    <?php } ?>
    <?php if ($actionName != 'rechargeCode') { ?>
        <a class="btn btn-small btn-primary" href="<?php echo $this->url('home-user-balance', ['action' => 'rechargeCode']); ?>"><?php echo $this->translate('充值码充值'); ?></a>
    <?php } ?>
</div>