Skip to content

Commit

Permalink
Relocate Renew domain button
Browse files Browse the repository at this point in the history
  • Loading branch information
tafid committed Mar 17, 2016
1 parent c3a7465 commit 14bb2a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/messages/ru/domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
*/

return [
<<<<<<< HEAD
'Domains' => 'Домены',
'Renew domain' => 'Продлить домен',

'Domains in «ok» state' => 'В состоянии «ОК»',
'Incoming transfer domains' => 'Входящий трансфер',
Expand Down
5 changes: 3 additions & 2 deletions src/views/domain/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@

<div class="col-md-3">

<?= Html::a(Yii::t('hipanel/domain', 'Renew domain'), ['add-to-cart-renewal', 'model_id' => $model->id], ['class' => 'btn btn-block margin-bottom btn-warning', 'data-pjax' => 0]); ?>

<?php Box::begin([
'options' => [
'class' => 'box-solid',
Expand Down Expand Up @@ -76,6 +74,9 @@
]) ?>

</li>
<li>
<?= Html::a('<i class="fa fa-forward"></i>' . Yii::t('hipanel/domain', 'Renew domain'), ['add-to-cart-renewal', 'model_id' => $model->id], ['data-pjax' => 0]); ?>
</li>
<?php if (Yii::$app->user->can('support') && Yii::$app->user->not($model->client_id)) : ?>
<li><?= $this->render('_sync_button', compact('model')) ?></li>
<?php endif ?>
Expand Down

0 comments on commit 14bb2a0

Please sign in to comment.