Commit aa6e61704644d0eaaf6c40f0f15a00f12ba6fea6

Authored by alex
1 parent 1a059019

Доделал мелкие правки 2

common/messages/ru/app.php
... ... @@ -15,6 +15,8 @@ return [
15 15 'Purchase' => 'Заказать',
16 16 'dev1' => 'заводы',
17 17  
  18 +
  19 + 'Name' => 'Имя',
18 20 'Preferred' => 'Избранное',
19 21 'do time' => 'изготовления',
20 22 'and size' => 'и размера',
... ... @@ -78,7 +80,10 @@ return [
78 80 'Thanks for request' => 'Спасибо за Ваш запрос!',
79 81 'from 2004' => 'с 2004 года',
80 82 'build/montage' => 'строительно-монтажные',
  83 + 'build' => 'строительные',
  84 +
81 85  
  86 + 'Phone' => 'Телефон',
82 87 'typographers' => 'типографии',
83 88 'textyle' => 'текстильные',
84 89 'transport' => 'транспортные',
... ... @@ -90,7 +95,7 @@ return [
90 95  
91 96  
92 97 'Company Title' => 'ArtPlast',
93   -
  98 + 'Email' => 'Email',
94 99 'Description 1' => 'Завод-производитель «Артпласт» предлагает отличный профессиональный скотч.
95 100 Наш продукт выдерживает растяжение, высокие нагрузки,
96 101 не теряет своих качеств при низких и высоких температурах.',
... ...
common/messages/ua/app.php
... ... @@ -28,8 +28,9 @@ return [
28 28 'do time' => 'виготовлення',
29 29 'and size' => 'та розміру',
30 30 'and logos' => 'та логотипи',
31   - 'and many other dev' => 'і багато інших підприємств',
  31 + 'and many other dev' => 'та багато інших підприємств',
32 32  
  33 + 'build' => 'будiвельнi',
33 34  
34 35  
35 36 'Companies' => 'компанії',
... ... @@ -60,8 +61,8 @@ return [
60 61  
61 62  
62 63 'Support' => 'Допомога',
63   - 'Call me!' => 'перетелефонувати мені',
64   - 'Call me' => 'Перетелефонувати мені',
  64 + 'Call me!' => 'передзвонити мені',
  65 + 'Call me' => 'Передзвонити мені',
65 66  
66 67 'Advantages!' => 'Переваги',
67 68 'of production' => 'продукції',
... ... @@ -87,11 +88,12 @@ return [
87 88 'Thanks for request' => 'Дякуємо за Ваш запит!',
88 89 'from 2004' => 'з 2004 року',
89 90 'build/montage' => 'будівельно-монтажні',
90   -
  91 + 'Name' => 'Iм`я',
91 92 'typographers' => 'типографії',
92 93 'textyle' => 'текстильні',
93 94 'transport' => 'транспортні',
94   -
  95 + 'Phone' => 'Телефон',
  96 + 'Email' => 'Email',
95 97  
96 98 'Ukr' => 'укр',
97 99 'Packing tape' => 'Пакувальний скотч',
... ...
frontend/assets/AppAsset.php
... ... @@ -13,6 +13,7 @@
13 13 public $baseUrl = '@web';
14 14 public $css = [
15 15 "css/style.css",
  16 + 'css/change.css'
16 17  
17 18 ];
18 19 public $js = [
... ...
frontend/config/main.php
... ... @@ -8,6 +8,13 @@
8 8 require( __DIR__ . '/params.php' ),
9 9 require( __DIR__ . '/params-local.php' )
10 10 );
  11 +
  12 + $send="Отправить";
  13 + if(strpos($_SERVER['REQUEST_URI'],"/ua")!==false) {
  14 + $send = "Вiдправити";
  15 + }
  16 +
  17 +
11 18  
12 19 return [
13 20 'id' => 'app-frontend',
... ... @@ -117,7 +124,7 @@
117 124 ],
118 125 'buttonTemplate' => '<div class="button-wr">{button}</div>',
119 126  
120   - 'buttonContent' => '<i class="fa fa-envelope-o"></i> Отправить',
  127 + 'buttonContent' => '<i class="fa fa-envelope-o"></i>'.$send,
121 128 'sendEmail' => true,
122 129 'email' => 'alkhonko@gmail.com',
123 130 'subject' => 'test tt22',
... ...
frontend/views/layouts/main.php
... ... @@ -27,7 +27,7 @@ $seo=\Yii::$app-&gt;get(&#39;seo&#39;);
27 27 <head>
28 28 <meta charset="<?= \Yii::$app->charset ?>">
29 29 <link href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&amp;subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet">
30   - <link type="image/x-icon" href="favicon.ico" rel="icon">
  30 + <link type="image/x-icon" href="/images/favicon.ico" rel="icon">
31 31 <meta name="viewport" content="width=device-width, initial-scale=1">
32 32 <?= Html::csrfMetaTags() ?>
33 33 <title><?= Html::encode($seo->title) ?></title>
... ...
frontend/views/site/index.php
... ... @@ -3,7 +3,7 @@
3 3 use common\models\Settings;
4 4 use frontend\widgets\LanguageWidget;
5 5 use yii\helpers\Html;
6   -use yii\widgets\ActiveForm;
  6 +use artbox\core\models\Language;
7 7  
8 8  
9 9  
... ... @@ -88,7 +88,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;);
88 88 </td>
89 89 </tr>
90 90 </table>
91   - <span class="modal-link" data-form="callback"><?=\Yii::t('app','Call me!');?></span>
  91 + <span class="modal-link" data-form="callback" ><?=\Yii::t('app','Call me!');?></span>
92 92 </div>
93 93 </div>
94 94 </div>
... ... @@ -196,7 +196,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;);
196 196 <div class="container">
197 197 <div class="row">
198 198 <div class="col-xs-12">
199   - <div class="title"> <?=\Yii::t('app','About product!');?></div>
  199 + <div class="title"> <?=\Yii::t('app','About Product!');?></div>
200 200 </div>
201 201 </div>
202 202 <div class="row">
... ... @@ -300,7 +300,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;);
300 300  
301 301 <div class="row">
302 302 <div class="trust-col">
303   - <div style="background-image: url('itelemages/trusted/trust-4.jpg')">
  303 + <div style="background-image: url('/images/trusted/trust-4.jpg')">
304 304 <span> <?=\Yii::t('app','build');?><br /> <?=\Yii::t('app','firms');?></span>
305 305 </div>
306 306 </div>
... ...
frontend/web/css/change.css 0 → 100644
  1 +.phone-header .modal-link {
  2 + bottom:0;
  3 +}
  4 +.fixed-header .phone-header .modal-link {
  5 + bottom:-15px;
  6 +}
  7 +.mail-header table tr td a.sep-lang-a{
  8 + color:#333;
  9 + text-decoration: none;
  10 +}
... ...
frontend/web/css/style.css
... ... @@ -661,7 +661,9 @@ section, header, nav, article, aside, footer, address {
661 661 height: 51px; }
662 662 .fixed-header .phone-header .modal-link {
663 663 font-size: 14px;
664   - bottom: -12px; }
  664 + bottom: -12px;
  665 + bottom:0;
  666 +}
665 667  
666 668 .section-header {
667 669 padding-top: 15px; }
... ...
frontend/web/images/favicon.ico 0 → 100644
No preview for this file type
plast/css/style.css
... ... @@ -765,7 +765,7 @@ section, header, nav, article, aside, footer, address {
765 765 text-decoration: underline;
766 766 position: absolute;
767 767 left: 23px;
768   - bottom: 5px; }
  768 + bottom: 10px; }
769 769 .phone-header .modal-link:hover {
770 770 text-decoration: none; }
771 771  
... ...