Commit 574b89da998abc8252d8d8e3fc32aed7a977555b

Authored by Anastasia
1 parent a34d7471

link in comments in admin

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
views/manage/index.php
1 1 <?php
2 2 use artbox\webcomment\models\CommentModel;
3 3 use artbox\webcomment\models\CommentModelSearch;
4   - use MongoDB\Driver\Exception\ExecutionTimeoutException;
5 4 use yii\data\ActiveDataProvider;
6 5 use yii\grid\GridView;
7 6 use yii\helpers\Html;
8 7 use yii\helpers\StringHelper;
9 8 use yii\web\View;
10 9 use yii\widgets\Pjax;
11   - use yii\helpers\Url;
12 10 use yii\helpers\Json;
13 11  
14 12 /**
... ... @@ -69,9 +67,9 @@
69 67 if ($item !== null) {
70 68 if ($urlManagerFrontend = \Yii::$app->get('urlManagerFrontend', false)) {
71 69  
72   - return "<a href='" . $urlManagerFrontend->createUrl(
  70 + return "<a href='" . $urlManagerFrontend->createUrl(
73 71 Json::decode($item->lang->alias->route)
74   - ) . "'>" . $item->lang->title . "</a>";
  72 + ) . "' target = '_blank'>" . $item->lang->title . "</a>";
75 73 }
76 74  
77 75 return $item->lang->title;
... ...