<?php
$actionName     = $this->shopHelper()->getAction();
?>
<div class="more">
    <?php if ($actionName != 'index') { ?>
        <a class="btn btn-small btn-primary" href="<?php echo $this->url('home-user'); ?>"><?php echo $this->translate('资料修改'); ?></a>
    <?php } ?>
    <?php if ($actionName != 'editAvatar') { ?>
        <a class="btn btn-small btn-primary" href="<?php echo $this->url('home-user', ['action' => 'editAvatar']); ?>"><?php echo $this->translate('头像设置'); ?></a>
    <?php } ?>
    <?php if ($actionName != 'accountBind') { ?>
        <a class="btn btn-small btn-primary" href="<?php echo $this->url('home-user', ['action' => 'accountBind']); ?>"><?php echo $this->translate('账户绑定'); ?></a>
    <?php } ?>
</div>