- if ($model->count['servers']>1) { ?>
- = Html::a('view', '@server/index', ['class' => 'btn btn-xs btn-default']) ?>
+ if ($model->count['servers']) { ?>
+ = Html::a(Yii::t('app', 'View'), '@server/index', ['class' => 'btn btn-xs btn-default']) ?>
} ?>
- = Html::a('buy', '@server/buy', ['class' => 'btn btn-xs btn-default']) ?>
+ = Html::a(Yii::t('app', 'Buy'), '@server/buy', ['class' => 'btn btn-xs btn-default']) ?>
- = Html::a('view', '@ticket/index', ['class' => 'btn btn-xs btn-default']) ?>
- = Html::a('create', '@ticket/create', ['class' => 'btn btn-xs btn-default']) ?>
+ = Html::a(Yii::t('app', 'View'), '@ticket/index', ['class' => 'btn btn-xs btn-default']) ?>
+ = Html::a(Yii::t('app', 'Create'), '@ticket/create', ['class' => 'btn btn-xs btn-default']) ?>
-
Tickets
+
= Yii::t('app', 'Tickets') ?>
= $model->count['tickets'] ?>
@@ -69,8 +69,8 @@
- = Html::a('view', '@bill/index', ['class' => 'btn btn-xs btn-default']) ?>
- = Html::a('recharge', '@bill/deposit', ['class' => 'btn btn-xs btn-default']) ?>
+ = Html::a(Yii::t('app', 'View'), '@bill/index', ['class' => 'btn btn-xs btn-default']) ?>
+ = Html::a(Yii::t('app', 'Recharge'), '@bill/deposit', ['class' => 'btn btn-xs btn-default']) ?>
= Yii::t('app', 'Balance') ?>
@@ -78,7 +78,7 @@
if ($model->credit > 0) { ?>
- Credit:
+ = Yii::t('app', 'Credit') ?>:
= Yii::$app->formatter->asCurrency($model->credit, $model->currency) ?>
} ?>