Skip to content

Commit

Permalink
used ClientSellerLink::widget
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Sep 16, 2015
1 parent 32df923 commit 9750999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/server/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use hipanel\modules\server\grid\ServerGridView;
use hipanel\widgets\Box;
use hipanel\widgets\Pjax;
use hipanel\widgets\ClientSellerLink;
use yii\bootstrap\Modal;
use yii\helpers\Html;
use yii\widgets\DetailView;
Expand All @@ -25,7 +26,7 @@
<p class="text-center">
<span class="profile-user-role"><?= $model->name ?></span>
<br>
<span class="profile-user-name"><?= $model->client . ' / ' . $model->seller; ?></span>
<span class="profile-user-name"><?= ClientSellerLink::widget(compact('model')) ?></span>
</p>
<?php Pjax::begin(['enablePushState' => false]) ?>
<div class="profile-usermenu">
Expand Down

0 comments on commit 9750999

Please sign in to comment.