Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Mar 18, 2019
1 parent 112c1d8 commit 56925ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions src/UnifyTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ static public function initBeforeRender()
*/
public $email = '[email protected]';

/**
* @var string
*/
public $work_time = 'Понедельник - Пятница: 10:00 - 19:00';

/**
* @var string
*/
public $yandex_map = '<script type="text/javascript" charset="utf-8" src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3Ad0c531662526b93dbdf5073562662972971277522ac0bdad700a1d3736e09828&amp;width=100%25&amp;height=400&amp;lang=ru_RU&amp;scroll=false"></script>';


/**
* @var string
Expand Down
6 changes: 3 additions & 3 deletions src/views/modules/cms/tree/contacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!-- Promo Block -->
<section>
<!-- Parallax Image -->
<div style="height: 500px;">
<script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A3c54488d4f32ae571f2430a060822efc953527a3b093179c979cefdc898476ad&amp;width=100%25&amp;height=500&amp;lang=ru_RU&amp;scroll=false"></script>
<div style="height: 400px;">
<?= $this->theme->yandex_map; ?>
</div>
<!-- End Parallax Image -->

Expand Down Expand Up @@ -68,7 +68,7 @@

</span>
<h4 class="h5 g-font-weight-600 g-mb-5">Рабочее время</h4>
<span class="d-block"><?= \Yii::t('app', 'Понедельник - Пятница: 10:00 - 19:00'); ?></span>
<span class="d-block"><?= $this->theme->work_time; ?></span>
</div>
<!-- End Icon Blocks -->
</div>
Expand Down

0 comments on commit 56925ad

Please sign in to comment.