Commit 66534727 authored by john's avatar john

Merge branch 't_3031'

3031
parents 1658967e 26290c68
This diff is collapsed.
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
clear : "Clear", clear : "Clear",
search : "Search", search : "Search",
help : "Help", help : "Help",
carousel : "Carousel",
info : "About " + exports.title info : "About " + exports.title
}, },
buttons : { buttons : {
......
...@@ -6,8 +6,24 @@ $(function () ...@@ -6,8 +6,24 @@ $(function ()
var listOfImages = []; var listOfImages = [];
$(this).find('img').each(function () $(this).find('img').each(function ()
{ {
listOfImages.push('<figure><img src="' + $(this).attr('src') + '" alt="' + $(this).attr('alt') + '"><figcaption class="text-white">' + $(this).attr('title') + '</figcaption></figure>') var alt = $(this).attr('alt');
if (typeof alt === "undefined")
alt = '';
listOfImages.push('<figure><img class="container_documentation_owl_img" src="' + $(this).attr('src') + '" alt="' + alt + '"><figcaption class="text-white">' + alt + '</figcaption></figure>')
}) })
$(this).html(listOfImages.join('')).removeClass('owl-carousel-need-replace hidden'); $(this).html(listOfImages.join('')).removeClass('owl-carousel-need-replace hidden');
}) })
$('.container_documentation').find('img:not(".container_documentation_owl_img")').click(function ()
{
$.magnificPopup.open({
items: {
src: $(this).attr('src')
},
image: {
cursor: 'pointer',
},
type: 'image'
});
});
}) })
\ No newline at end of file
...@@ -115,7 +115,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -115,7 +115,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<!-- Off-Canvas Wrapper--> <!-- Off-Canvas Wrapper-->
<div class="offcanvas-wrapper" id="box1"> <div class="offcanvas-wrapper" id="box1">
<!-- Page Content--> <!-- Page Content-->
<div class="container padding-bottom-3x mb-2"> <div class="container container_documentation padding-bottom-3x mb-2">
<div class="row"> <div class="row">
<!-- Content--> <!-- Content-->
<div class="col-xl-8 col-lg-7 order-lg-2"> <div class="col-xl-8 col-lg-7 order-lg-2">
...@@ -128,7 +128,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -128,7 +128,7 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
<div class="meta-link"><i class="icon-clock"></i> <?= $model->list->getFormatedCreatedAt() ?></div> <div class="meta-link"><i class="icon-clock"></i> <?= $model->list->getFormatedCreatedAt() ?></div>
</div> </div>
<?php echo $modelContent->html ?> <?php echo str_replace(['<!-- ¿¿¿CAROUSEL_BEGIN¿¿¿ -->', '<!-- ¿¿¿CAROUSEL_END¿¿¿ -->'], ['<div class="owl-carousel owl-carousel-need-replace hidden" data-owl-carousel="{ &quot;nav&quot;: true, &quot;dots&quot;: true, &quot;loop&quot;: true }">', '</div>'], $modelContent->html) ?>
<div class="single-post-footer"> <div class="single-post-footer">
<div class="column"> <div class="column">
...@@ -212,4 +212,4 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр ...@@ -212,4 +212,4 @@ $this->registerMetaTag(['property' => 'og:site_name', 'content' => 'Арт Пр
</div> </div>
</div> </div>
<?php echo $this->render('@app/views/layouts/footer') ?> <?php echo $this->render('@app/views/layouts/footer') ?>
<?php echo $this->render('_request_access') ?> <?php echo $this->render('_request_access') ?>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment