Commit fed41a6ec0bab7239ee18f370ab1f080a2e57837
Merge branch 'master' of gitlab.artweb.com.ua:steska/clinica
Showing
10 changed files
with
149 additions
and
23 deletions
Show diff stats
backend/controllers/VisitController.php
@@ -59,7 +59,11 @@ | @@ -59,7 +59,11 @@ | ||
59 | ], | 59 | ], |
60 | 'created_at' => [ | 60 | 'created_at' => [ |
61 | 'type' => Index::DATETIME_COL, | 61 | 'type' => Index::DATETIME_COL, |
62 | - ] | 62 | + ], |
63 | + 'request_webpage' => | ||
64 | + [ | ||
65 | + 'type' => Index::STRING_COL | ||
66 | + ] | ||
63 | ], | 67 | ], |
64 | 'model' => Visit::className(), | 68 | 'model' => Visit::className(), |
65 | 'hasLanguage' => false, | 69 | 'hasLanguage' => false, |
@@ -99,6 +103,10 @@ | @@ -99,6 +103,10 @@ | ||
99 | 'name' => 'created_at', | 103 | 'name' => 'created_at', |
100 | 'type' => Form::STRING, | 104 | 'type' => Form::STRING, |
101 | ], | 105 | ], |
106 | + [ | ||
107 | + 'name' => 'request_webpage', | ||
108 | + 'type' => Form::STRING, | ||
109 | + ], | ||
102 | 110 | ||
103 | ], | 111 | ], |
104 | ], | 112 | ], |
@@ -183,6 +191,7 @@ | @@ -183,6 +191,7 @@ | ||
183 | 'name' => 'updated_at', | 191 | 'name' => 'updated_at', |
184 | 'type' => Form::STRING, | 192 | 'type' => Form::STRING, |
185 | ], | 193 | ], |
194 | + | ||
186 | ]; | 195 | ]; |
187 | } | 196 | } |
188 | 197 |
backend/web/core/css/custom.css
@@ -5402,4 +5402,40 @@ padding: 0 10px; | @@ -5402,4 +5402,40 @@ padding: 0 10px; | ||
5402 | } | 5402 | } |
5403 | .has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label { | 5403 | .has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label { |
5404 | color: #428442; | 5404 | color: #428442; |
5405 | -} | ||
5406 | \ No newline at end of file | 5405 | \ No newline at end of file |
5406 | +} | ||
5407 | + | ||
5408 | +/********file input settings***********/ | ||
5409 | + | ||
5410 | + .file-caption .file-caption-name { | ||
5411 | + border: 0 !important; | ||
5412 | + box-shadow: none !important; | ||
5413 | + margin-top: -8px; | ||
5414 | + | ||
5415 | +} | ||
5416 | + | ||
5417 | +.file-caption-main .btn-file { | ||
5418 | + margin-right: 0; | ||
5419 | +} | ||
5420 | + | ||
5421 | +.file-caption-main .file-caption { | ||
5422 | + height: 36px; | ||
5423 | +} | ||
5424 | +.file-caption-main { | ||
5425 | + margin-top: 10px; | ||
5426 | +} | ||
5427 | +.file-caption-main .btn-file input[type=file] { | ||
5428 | + margin-top: 0; | ||
5429 | + cursor: pointer; | ||
5430 | +} | ||
5431 | +.file-caption-main .fileinput-remove-button { | ||
5432 | + font-size: 0; | ||
5433 | + margin: 0 15px !important; | ||
5434 | +} | ||
5435 | +.file-caption-main .btn-file, .file-caption-main .btn-file span, .file-caption-main .btn-file, .file-caption-main .btn-file input {cursor: pointer} | ||
5436 | +#module-imagemanager a.delete-image-item { | ||
5437 | + margin-top: 5px; | ||
5438 | + font-size: 0; | ||
5439 | + margin-bottom: 10px; | ||
5440 | +} | ||
5441 | + | ||
5442 | +/********end file input settings***********/ |
common/messages/ru/app.php
@@ -62,6 +62,7 @@ return [ | @@ -62,6 +62,7 @@ return [ | ||
62 | 'Send question' =>'ะัะฟัะฐะฒะธัั ะฒะพะฟัะพั', | 62 | 'Send question' =>'ะัะฟัะฐะฒะธัั ะฒะพะฟัะพั', |
63 | 'Department' =>'ะพัะดะตะปะตะฝะธะต', | 63 | 'Department' =>'ะพัะดะตะปะตะฝะธะต', |
64 | 'General issues' =>'ะะฑัะธะต ะฒะพะฟัะพัั', | 64 | 'General issues' =>'ะะฑัะธะต ะฒะพะฟัะพัั', |
65 | + 'General callbacks' => 'ะะฑัะธะต ะพัะทัะฒั', | ||
65 | 'Give feedback' =>'ะััะฐะฒะธัั ะพัะทัะฒ', | 66 | 'Give feedback' =>'ะััะฐะฒะธัั ะพัะทัะฒ', |
66 | 'Callbacks' =>'ะัะทัะฒั', | 67 | 'Callbacks' =>'ะัะทัะฒั', |
67 | 'Callback' =>'ะะฑัะฐัะฝะฐั ัะฒัะทั', | 68 | 'Callback' =>'ะะฑัะฐัะฝะฐั ัะฒัะทั', |
@@ -102,12 +103,12 @@ return [ | @@ -102,12 +103,12 @@ return [ | ||
102 | 'Price list description' =>'ะฆะตะฝั ะฝะฐ ััะปัะณะธ ะผะตะดะธัะธะฝัะบะพะน ะบะปะธะฝะธะบะธ ABClinik', | 103 | 'Price list description' =>'ะฆะตะฝั ะฝะฐ ััะปัะณะธ ะผะตะดะธัะธะฝัะบะพะน ะบะปะธะฝะธะบะธ ABClinik', |
103 | 104 | ||
104 | 105 | ||
105 | - | ||
106 | - | ||
107 | - | 106 | + 'Request_webpage' => 'ะกััะฐะฝะธัะฐ ะฟะตัะตั ะพะดะฐ', |
108 | 'FIO' =>'ะคะะ', | 107 | 'FIO' =>'ะคะะ', |
109 | 'Email' =>'Email', | 108 | 'Email' =>'Email', |
110 | 'Office address' =>'ะฃะบัะฐะธะฝะฐ, ะะธะตะฒ, ัะป. ะัะดััะฒัะบะฐั, 31/33', | 109 | 'Office address' =>'ะฃะบัะฐะธะฝะฐ, ะะธะตะฒ, ัะป. ะัะดััะฒัะบะฐั, 31/33', |
111 | 'Go to Homepage' =>'ะะฐ ะณะปะฐะฒะฝัั', | 110 | 'Go to Homepage' =>'ะะฐ ะณะปะฐะฒะฝัั', |
112 | 'ABC short' =>'ABClinic โ ะผะตะดะธัะธะฝัะบะธะน ัะตะฝัั', | 111 | 'ABC short' =>'ABClinic โ ะผะตะดะธัะธะฝัะบะธะน ัะตะฝัั', |
112 | + 'ABC short reverse' => 'ะผะตะดะธัะธะฝัะบะธะน ัะตะฝัั ABClinic ', | ||
113 | + | ||
113 | ]; | 114 | ]; |
114 | \ No newline at end of file | 115 | \ No newline at end of file |
common/models/Question.php
@@ -150,5 +150,12 @@ | @@ -150,5 +150,12 @@ | ||
150 | { | 150 | { |
151 | return $this->hasOne(Doctor::className(), [ 'id' => 'doctor_id' ]); | 151 | return $this->hasOne(Doctor::className(), [ 'id' => 'doctor_id' ]); |
152 | } | 152 | } |
153 | + | ||
154 | + public function getEntityObject(){ | ||
155 | + if ($this->entity !== null){ | ||
156 | + return $this->hasOne($this->entity, ['id' => 'entity_id']); | ||
157 | + } | ||
158 | + return null; | ||
159 | + } | ||
153 | 160 | ||
154 | } | 161 | } |
common/models/Visit.php
@@ -79,7 +79,8 @@ | @@ -79,7 +79,8 @@ | ||
79 | 'name', | 79 | 'name', |
80 | 'phone', | 80 | 'phone', |
81 | 'entity', | 81 | 'entity', |
82 | - 'email' | 82 | + 'email', |
83 | + 'request_webpage' | ||
83 | ], | 84 | ], |
84 | 'string', | 85 | 'string', |
85 | 'max' => 255, | 86 | 'max' => 255, |
@@ -100,6 +101,7 @@ | @@ -100,6 +101,7 @@ | ||
100 | 'entity' => Yii::t('app', 'Entity'), | 101 | 'entity' => Yii::t('app', 'Entity'), |
101 | 'entity_id' => Yii::t('app', 'Entity ID'), | 102 | 'entity_id' => Yii::t('app', 'Entity ID'), |
102 | 'email' => Yii::t('app', 'Email'), | 103 | 'email' => Yii::t('app', 'Email'), |
104 | + 'request_webpage' => Yii::t('app', 'Request_webpage'), | ||
103 | ]; | 105 | ]; |
104 | } | 106 | } |
105 | 107 |
console/migrations/m180623_131646_add_request_webpage_column_to_visit_table.php
0 โ 100644
1 | +<?php | ||
2 | + | ||
3 | +use yii\db\Migration; | ||
4 | + | ||
5 | +/** | ||
6 | + * Handles adding request_webpage to table `visit`. | ||
7 | + */ | ||
8 | +class m180623_131646_add_request_webpage_column_to_visit_table extends Migration | ||
9 | +{ | ||
10 | + /** | ||
11 | + * {@inheritdoc} | ||
12 | + */ | ||
13 | + public function safeUp() | ||
14 | + { | ||
15 | + $this->addColumn('visit', 'request_webpage', $this->string(255)); | ||
16 | + } | ||
17 | + | ||
18 | + /** | ||
19 | + * {@inheritdoc} | ||
20 | + */ | ||
21 | + public function safeDown() | ||
22 | + { | ||
23 | + $this->dropColumn('visit', 'request_webpage'); | ||
24 | + } | ||
25 | +} |
frontend/config/main.php
1 | <?php | 1 | <?php |
2 | use common\models\SlashRedirect; | 2 | use common\models\SlashRedirect; |
3 | use frontend\components\UrlManager; | 3 | use frontend\components\UrlManager; |
4 | +use yii\helpers\Url; | ||
4 | 5 | ||
5 | $params = array_merge( | 6 | $params = array_merge( |
6 | require( __DIR__ . '/../../common/config/params.php' ), | 7 | require( __DIR__ . '/../../common/config/params.php' ), |
@@ -28,6 +29,7 @@ | @@ -28,6 +29,7 @@ | ||
28 | 'name', | 29 | 'name', |
29 | 'phone', | 30 | 'phone', |
30 | 'message', | 31 | 'message', |
32 | + | ||
31 | ], | 33 | ], |
32 | 'rules' => [ | 34 | 'rules' => [ |
33 | [ | 35 | [ |
@@ -138,7 +140,8 @@ | @@ -138,7 +140,8 @@ | ||
138 | 'email', | 140 | 'email', |
139 | 'comment', | 141 | 'comment', |
140 | 'entity_id', | 142 | 'entity_id', |
141 | - 'entity' | 143 | + 'entity', |
144 | + | ||
142 | ], | 145 | ], |
143 | 'rules' => [ | 146 | 'rules' => [ |
144 | [ | 147 | [ |
@@ -154,7 +157,9 @@ | @@ -154,7 +157,9 @@ | ||
154 | 'email' => 'Email', | 157 | 'email' => 'Email', |
155 | 'comment' => 'ะะฐั ะพัะทัะฒ', | 158 | 'comment' => 'ะะฐั ะพัะทัะฒ', |
156 | 'entity_id' => false, | 159 | 'entity_id' => false, |
157 | - 'entity' => false | 160 | + 'entity' => false, |
161 | + | ||
162 | + | ||
158 | ], | 163 | ], |
159 | 164 | ||
160 | 'inputOptions' => [ | 165 | 'inputOptions' => [ |
@@ -251,7 +256,8 @@ | @@ -251,7 +256,8 @@ | ||
251 | 'message', | 256 | 'message', |
252 | 257 | ||
253 | 'entity', | 258 | 'entity', |
254 | - 'entity_id' | 259 | + 'entity_id', |
260 | + 'request_webpage', | ||
255 | ], | 261 | ], |
256 | 'rules' => [ | 262 | 'rules' => [ |
257 | [ | 263 | [ |
@@ -267,7 +273,8 @@ | @@ -267,7 +273,8 @@ | ||
267 | 'phone' => \Yii::t('app','Phone'), | 273 | 'phone' => \Yii::t('app','Phone'), |
268 | 'message' => \Yii::t('app','Message'), | 274 | 'message' => \Yii::t('app','Message'), |
269 | 'entity_id' => false, | 275 | 'entity_id' => false, |
270 | - 'entity' => false | 276 | + 'entity' => false, |
277 | + 'request_webpage' => false | ||
271 | ], | 278 | ], |
272 | 279 | ||
273 | 'inputOptions' => [ | 280 | 'inputOptions' => [ |
@@ -277,6 +284,16 @@ | @@ -277,6 +284,16 @@ | ||
277 | 'entity_id' => [ | 284 | 'entity_id' => [ |
278 | 'type' => 'hiddenInput' | 285 | 'type' => 'hiddenInput' |
279 | ], | 286 | ], |
287 | + 'request_webpage' => [ | ||
288 | + 'type' => 'hiddenInput', | ||
289 | + 'options' => | ||
290 | + [ | ||
291 | + #'value' => \Yii::$app->homeUrl, | ||
292 | + # 'value' => 'test 123', | ||
293 | + 'value' => $_SERVER['REQUEST_URI'], | ||
294 | + ], | ||
295 | + | ||
296 | + ], | ||
280 | 'name' => [ | 297 | 'name' => [ |
281 | 'template' => '<div class="input-wr">{input}</div>' | 298 | 'template' => '<div class="input-wr">{input}</div>' |
282 | ], | 299 | ], |
frontend/views/layouts/main.php
@@ -33,10 +33,7 @@ | @@ -33,10 +33,7 @@ | ||
33 | use frontend\assets\MapAsset; | 33 | use frontend\assets\MapAsset; |
34 | 34 | ||
35 | 35 | ||
36 | - | ||
37 | - | ||
38 | - | ||
39 | - AppAsset::register($this); | 36 | +AppAsset::register($this); |
40 | SliderAsset::register($this); | 37 | SliderAsset::register($this); |
41 | MapAsset::register($this); | 38 | MapAsset::register($this); |
42 | $user = \Yii::$app->user->identity; | 39 | $user = \Yii::$app->user->identity; |
@@ -71,6 +68,22 @@ | @@ -71,6 +68,22 @@ | ||
71 | ->all(); | 68 | ->all(); |
72 | 69 | ||
73 | 70 | ||
71 | +# ะดะปั ะฐะฒัะพะผะฐัะธัะตัะบะพะน ะณะตะฝะตัะฐัะธะธ SEO ะฟะฐัะฐะผะตััะพะฒ (title/description) ะฒ ัะธััะฐัะธัั , ะบะพะณะดะฐ ััะธั ะฟะฐัะฐะผะตััะพะฒ ะฝะตัั | ||
72 | +# ะผะฝะต ะฝัะถะฝะพ ะฑัะดะตั ะฐะฒัะพะผะฐัะธัะตัะบะธ ะธั ะฟะพะดะณะตะฝะตัะธะฒะฐัั, ะฟะพััะพะผั ะฒะผะตััะพ $seo->title, ะบะพัะพััะต ัะฒะปัะตััั readOnly ั ะธัะฟะพะปัะทัั ััั ะฟะตัะตะผะตะฝะฝัั | ||
73 | +$seoTitleName = $seo->title; | ||
74 | +if ($seo->title == '' | ||
75 | + && \Yii::$app->controller->id == 'site' | ||
76 | + && \Yii::$app->controller->action->id == 'comments' | ||
77 | +) { | ||
78 | + $currentServiceId = (!empty(\Yii::$app->request->get('service_id'))) ? \Yii::$app->request->get('service_id') : 0; | ||
79 | + $serviceModel = new Service(['id' => $currentServiceId]); | ||
80 | + if ($currentServiceId !== 0) { | ||
81 | + $serviceName = $serviceModel->language->title; | ||
82 | + $seoTitleName = $this->params['breadcrumbs'][0] . ' - ' . $serviceName . ' - ' . \Yii::t('app', 'ABC short reverse'); | ||
83 | + } else $seoTitleName = $this->params['breadcrumbs'][0] . ' - ' . \Yii::t('app', 'General callbacks') . ' - ' . \Yii::t('app', 'ABC short reverse'); | ||
84 | + | ||
85 | +} | ||
86 | + | ||
74 | 87 | ||
75 | //----------------------------------------------------------------------------------------------------------------------- | 88 | //----------------------------------------------------------------------------------------------------------------------- |
76 | // ะะปะพะบ ั ะผะธะบัะพัะฐะทะผะตัะบะพะน ะดะปั FB | 89 | // ะะปะพะบ ั ะผะธะบัะพัะฐะทะผะตัะบะพะน ะดะปั FB |
@@ -116,11 +129,10 @@ $this->registerMetaTag( | @@ -116,11 +129,10 @@ $this->registerMetaTag( | ||
116 | 'content' =>$seo->title, | 129 | 'content' =>$seo->title, |
117 | ] | 130 | ] |
118 | ); | 131 | ); |
119 | - | ||
120 | $this->registerMetaTag( | 132 | $this->registerMetaTag( |
121 | [ | 133 | [ |
122 | 'name' => 'description', | 134 | 'name' => 'description', |
123 | - 'content' => $seo->desc, | 135 | + 'content' => (\Yii::$app->controller->id == 'site' && \Yii::$app->controller->action->id == 'comments' && $seo->desc == null) ? $seoTitleName : $seo->desc, |
124 | ] | 136 | ] |
125 | ); | 137 | ); |
126 | 138 | ||
@@ -136,6 +148,10 @@ $this->registerMetaTag( | @@ -136,6 +148,10 @@ $this->registerMetaTag( | ||
136 | ); | 148 | ); |
137 | $module = \Yii::$app->getModule('feedback'); | 149 | $module = \Yii::$app->getModule('feedback'); |
138 | $aliases = Alias::find()->where(['route' => '{"0":"site/questions"}'])->indexBy('route')->andWhere(['language_id' => Language::getCurrent()->id])->asArray()->all(); | 150 | $aliases = Alias::find()->where(['route' => '{"0":"site/questions"}'])->indexBy('route')->andWhere(['language_id' => Language::getCurrent()->id])->asArray()->all(); |
151 | +$commentUrl = Alias::find()->where(['route' => '{"0":"site/comments","service_id":0}'])->indexBy('route')->andWhere(['language_id' => Language::getCurrent()->id])->asArray()->all(); | ||
152 | + | ||
153 | + | ||
154 | + | ||
139 | 155 | ||
140 | ?> | 156 | ?> |
141 | 157 | ||
@@ -178,7 +194,11 @@ $this->registerMetaTag( | @@ -178,7 +194,11 @@ $this->registerMetaTag( | ||
178 | <meta name="viewport" content="width=device-width"> | 194 | <meta name="viewport" content="width=device-width"> |
179 | <link type="image/x-icon" href="favicon.ico" rel="icon"> | 195 | <link type="image/x-icon" href="favicon.ico" rel="icon"> |
180 | <?= Html::csrfMetaTags() ?> | 196 | <?= Html::csrfMetaTags() ?> |
181 | - <title><?=Html::encode($seo->title)?></title> | 197 | + |
198 | + | ||
199 | + | ||
200 | + | ||
201 | + <title><?= Html::encode($seoTitleName); ?></title> | ||
182 | <?php $this->head() ?> | 202 | <?php $this->head() ?> |
183 | </head> | 203 | </head> |
184 | <body id="body"> | 204 | <body id="body"> |
@@ -275,11 +295,15 @@ $this->registerMetaTag( | @@ -275,11 +295,15 @@ $this->registerMetaTag( | ||
275 | <div class="hidden-xs btn-header-wr"> | 295 | <div class="hidden-xs btn-header-wr"> |
276 | <span class="btn_ modal-link" data-form="write-to"><?=\Yii::t('app', 'Make an appointment') ?></span> | 296 | <span class="btn_ modal-link" data-form="write-to"><?=\Yii::t('app', 'Make an appointment') ?></span> |
277 | </div> | 297 | </div> |
278 | - | 298 | + |
279 | <ul class="hidden-xs hidden-sm"> | 299 | <ul class="hidden-xs hidden-sm"> |
280 | <li><a href="/vtoroe-mnenie" class="new"><span> <?=\Yii::t('app','Second thing')?> </span></a></li> | 300 | <li><a href="/vtoroe-mnenie" class="new"><span> <?=\Yii::t('app','Second thing')?> </span></a></li> |
281 | - <li><a href="<?=(isset($aliases['{"0":"site/questions"}'])) ? Url::to(['alias' => $aliases['{"0":"site/questions"}']]) : Url::to(['site/questions'])?>"><?=\Yii::t('app','Quest/Answer')?></a></li> | ||
282 | - <li><a href="<?=Url::to(['site/comments'])?>"><?=\Yii::t('app','Callbacks')?></a></li> | 301 | + <li> |
302 | + <a href="<?= (isset($aliases['{"0":"site/questions"}'])) ? Url::to(['alias' => $aliases['{"0":"site/questions"}']]) : | ||
303 | + Url::to(['site/questions']) ?>"><?= \Yii::t('app', 'Quest/Answer') ?></a></li> | ||
304 | + <li> | ||
305 | + <a href="<?= (isset($commentUrl)) ? Url::to(['/' . $commentUrl['{"0":"site/comments","service_id":0}']['value']]) : | ||
306 | + Url::to(['site/comments']) ?>"><?= \Yii::t('app', 'Callbacks') ?></a></li> | ||
283 | </ul> | 307 | </ul> |
284 | <!-- --> | 308 | <!-- --> |
285 | <!-- <div class="lang-sep-wr hidden-xs hidden-sm">--> | 309 | <!-- <div class="lang-sep-wr hidden-xs hidden-sm">--> |
frontend/views/service/view.php
@@ -15,6 +15,7 @@ | @@ -15,6 +15,7 @@ | ||
15 | use yii\web\View; | 15 | use yii\web\View; |
16 | 16 | ||
17 | $seo = \Yii::$app->get('seo'); | 17 | $seo = \Yii::$app->get('seo'); |
18 | +# die(var_dump($seo)); | ||
18 | $this->params['entity'] = Service::className(); | 19 | $this->params['entity'] = Service::className(); |
19 | $this->params['entity_id'] = $model->id; | 20 | $this->params['entity_id'] = $model->id; |
20 | 21 | ||
@@ -142,10 +143,11 @@ JS; | @@ -142,10 +143,11 @@ JS; | ||
142 | <a class="packages-page-link" href="<?=Url::to(['alias' => $package->language->alias])?>"> | 143 | <a class="packages-page-link" href="<?=Url::to(['alias' => $package->language->alias])?>"> |
143 | <div class="img-packages-page"> | 144 | <div class="img-packages-page"> |
144 | <!--555x344--> | 145 | <!--555x344--> |
145 | - <?=ImageHelper::set(($package->image) ? $package->image->getPath() : null) | 146 | + <?= |
147 | + ImageHelper::set(($package->image) ? $package->image->getPath() : null) | ||
146 | ->cropResize(262, 185) | 148 | ->cropResize(262, 185) |
147 | ->quality(84) | 149 | ->quality(84) |
148 | - ->renderImage()?> | 150 | + ->renderImage(); ?> |
149 | </div> | 151 | </div> |
150 | <div class="table-packages-wr"> | 152 | <div class="table-packages-wr"> |
151 | <table cellspacing="0" cellpadding="0" border="0"> | 153 | <table cellspacing="0" cellpadding="0" border="0"> |
frontend/views/site/comments.php
@@ -26,7 +26,10 @@ | @@ -26,7 +26,10 @@ | ||
26 | <div class="container"> | 26 | <div class="container"> |
27 | <div class="row"> | 27 | <div class="row"> |
28 | <div class="col-xs-12 col-sm-12"> | 28 | <div class="col-xs-12 col-sm-12"> |
29 | - <h1 class="title-pages"><?=\Yii::t('app','Callbacks')?></h1> | 29 | + <h1 class="title-pages"> |
30 | + <?= ($service_id == 0) ? $data[''] . ' - ' . \Yii::t('app', 'Callbacks') : | ||
31 | + $data[$service_id] . ' - ' . \Yii::t('app', 'Callbacks') | ||
32 | + ?></h1> | ||
30 | </div> | 33 | </div> |
31 | </div> | 34 | </div> |
32 | <div class="row"> | 35 | <div class="row"> |