Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Sep 28, 2015
1 parent 99602fd commit 3f25af8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/views/account/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
?>
</li>
<?php } ?>
<?php if (Yii::$app->user->can('support')) { ?>
<?php if (Yii::$app->user->can('support') && Yii::$app->user->id != $model->client_id) { ?>
<li>
<?= $this->render('_block', compact(['model', 'blockReasons'])); ?>
</li>
Expand Down
4 changes: 2 additions & 2 deletions src/views/hdomain/create-alias.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/* @var $this yii\web\View */
/* @var $model hipanel\modules\ticket\models\Thread */
/* @var $type string */

$this->title = Yii::t('app', 'Create alias');
$this->breadcrumbs->setItems([['label' => Yii::t('app', 'Databases'), 'url' => ['index']]]);
$this->breadcrumbs->setItems([['label' => Yii::t('app', 'Domains'), 'url' => ['index']]]);
$this->breadcrumbs->setItems([$this->title]);
?>

Expand Down
3 changes: 1 addition & 2 deletions src/views/hdomain/create.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php
/* @var $this yii\web\View */
/* @var $model hipanel\modules\ticket\models\Thread */
/* @var $type string */

$this->title = Yii::t('app', 'Create domain');
$this->breadcrumbs->setItems([['label' => Yii::t('app', 'Databases'), 'url' => ['index']]]);
$this->breadcrumbs->setItems([['label' => Yii::t('app', 'Domains'), 'url' => ['index']]]);
$this->breadcrumbs->setItems([$this->title]);
?>

Expand Down
2 changes: 1 addition & 1 deletion src/views/hdomain/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<li>
<?= Html::a('<i class="fa fa-pencil"></i>' . Yii::t('app', 'Advanced settings'), ['/hosting/vhost/advanced-config', 'id' => $model->id]); ?>
</li>
<?php if (Yii::$app->user->can('support')) { ?>
<?php if (Yii::$app->user->can('support') && Yii::$app->user->id != $model->client_id) { ?>
<li>
<?= $this->render('_block', compact(['model', 'blockReasons'])); ?>
</li>
Expand Down
3 changes: 2 additions & 1 deletion src/widgets/ip/HdomainIpCombo.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class HdomainIpCombo extends Combo
/** @inheritdoc */
public $_return = [
'id',
'expanded_ips'
'expanded_ips',
'links'
];

public $_rename = [
Expand Down

0 comments on commit 3f25af8

Please sign in to comment.