Commit b8e6a5c4403c0a5415dcefdf0b5f1be539007c84
1 parent
54350885
-Order module small screen fix SMALLER!!!!
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
views/order/index.php
@@ -232,7 +232,8 @@ JS; | @@ -232,7 +232,8 @@ JS; | ||
232 | if ($model->deadline == '') { | 232 | if ($model->deadline == '') { |
233 | return ''; | 233 | return ''; |
234 | } else { | 234 | } else { |
235 | - return \Yii::$app->formatter->asDate($model->deadline); | 235 | + return \Yii::$app->formatter->asDate($model->deadline, 'php:d M') . '<br>' . |
236 | + \Yii::$app->formatter->asDate($model->deadline, 'php:Y г'); | ||
236 | } | 237 | } |
237 | }, | 238 | }, |
238 | ], | 239 | ], |
@@ -294,7 +295,7 @@ JS; | @@ -294,7 +295,7 @@ JS; | ||
294 | 'attribute' => 'body', | 295 | 'attribute' => 'body', |
295 | 'content' => function($model) { | 296 | 'content' => function($model) { |
296 | if (!empty($model->body)) { | 297 | if (!empty($model->body)) { |
297 | - return StringHelper::truncate($model->body, 12, '...'); | 298 | + return StringHelper::truncate($model->body, 10, '...'); |
298 | } else { | 299 | } else { |
299 | return ''; | 300 | return ''; |
300 | } | 301 | } |
@@ -305,7 +306,7 @@ JS; | @@ -305,7 +306,7 @@ JS; | ||
305 | 'content' => function($model) { | 306 | 'content' => function($model) { |
306 | if (!empty($model->sms)) { | 307 | if (!empty($model->sms)) { |
307 | return Html::a( | 308 | return Html::a( |
308 | - StringHelper::truncate($model->sms, 12, '...'), | 309 | + StringHelper::truncate($model->sms, 10, '...'), |
309 | '#', | 310 | '#', |
310 | [ | 311 | [ |
311 | 'data-toggle' => 'tooltip', | 312 | 'data-toggle' => 'tooltip', |