Commit c72118612d56d676d1c1baf50a7d9f25aa85f9e3
1 parent
1f101045
123
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
src/app/frontend/controllers/PageController.php
| @@ -236,9 +236,9 @@ class PageController extends \controllers\ControllerBase | @@ -236,9 +236,9 @@ class PageController extends \controllers\ControllerBase | ||
| 236 | } | 236 | } |
| 237 | 237 | ||
| 238 | 238 | ||
| 239 | - if($type==='pro_companiu') | 239 | + if($type==='pro_companiu-1') |
| 240 | $this->view->setMainView('about_ukr'); | 240 | $this->view->setMainView('about_ukr'); |
| 241 | - if($type==='o-kompanii') | 241 | + if($type==='o-kompanii-1') |
| 242 | $this->view->setMainView('about_ukr'); | 242 | $this->view->setMainView('about_ukr'); |
| 243 | elseif($type==='pro_companiu_en') | 243 | elseif($type==='pro_companiu_en') |
| 244 | $this->view->setMainView('about_eng'); | 244 | $this->view->setMainView('about_eng'); |
src/app/frontend/views/about_ukr.php
| @@ -120,8 +120,8 @@ | @@ -120,8 +120,8 @@ | ||
| 120 | <h1 class="text-inverse">Оберіть мову <br> Choose language</h1> | 120 | <h1 class="text-inverse">Оберіть мову <br> Choose language</h1> |
| 121 | </div> | 121 | </div> |
| 122 | <div class="modal-footer"> | 122 | <div class="modal-footer"> |
| 123 | - <a data-dismiss="modal" aria-hidden="true" class="btn btn-success btn-lg close">Українська</a> | ||
| 124 | - <a href="/pro_companiu-en" class="btn btn-outline-success btn-lg">English</a> | 123 | + <a href="/pro_companiu" class="btn btn-success btn-lg" data-dismiss="modal">Українська</a> |
| 124 | + <a href="/pro_companiu_en" class="btn btn-outline-success btn-lg">English</a> | ||
| 125 | </div> | 125 | </div> |
| 126 | </div> | 126 | </div> |
| 127 | </div> | 127 | </div> |