|
|
|
@ -2,10 +2,8 @@ |
|
|
|
{% load static %} |
|
|
|
{% load static %} |
|
|
|
{% load i18n %} |
|
|
|
{% load i18n %} |
|
|
|
{% load template_filters %} |
|
|
|
{% load template_filters %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block page_body %} |
|
|
|
{% block page_body %} |
|
|
|
<div class="m-article cl-photos"> |
|
|
|
<div class="m-article cl-photos"> |
|
|
|
<div class="cl-item"> |
|
|
|
<div class="cl-item"> |
|
|
|
<div class="cl-item-wrap clearfix"> |
|
|
|
<div class="cl-item-wrap clearfix"> |
|
|
|
<div class="cli-pict"> |
|
|
|
<div class="cli-pict"> |
|
|
|
@ -36,14 +34,11 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="cli-photo-text"> |
|
|
|
<div class="cli-photo-text"> |
|
|
|
{{ object.description|safe }} |
|
|
|
{{ object.description|safe }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div id="cli-pg" class="cli-photo-gallery"> |
|
|
|
<div id="cli-pg" class="cli-photo-gallery"> |
|
|
|
<ul class="clearfix"> |
|
|
|
<ul class="clearfix"> |
|
|
|
|
|
|
|
|
|
|
|
{% for photo in object_list %} |
|
|
|
{% for photo in object_list %} |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<a class="open-photo" href="#" > |
|
|
|
<a class="open-photo" href="#" > |
|
|
|
@ -52,27 +47,25 @@ |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% block paginator %} |
|
|
|
{% block paginator %} |
|
|
|
|
|
|
|
|
|
|
|
{% with page_obj=page_obj queries=queries %} |
|
|
|
{% with page_obj=page_obj queries=queries %} |
|
|
|
{% include 'includes/paginator.html' %} |
|
|
|
{% include 'includes/paginator.html' %} |
|
|
|
{% endwith %} |
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{% block photogallery %} |
|
|
|
{% block photogallery %} |
|
|
|
{% include 'client/popups/photo.html' %} |
|
|
|
{% include 'client/popups/photo.html' %} |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
{% block scripts %} |
|
|
|
{% block scripts %} |
|
|
|
<script src="{% static 'client/js' %}{% if debug %}/{% else %}_min/{% endif %}_modules/page.place.photo{% if debug %}{% else %}.min{% endif %}.js"></script> |
|
|
|
{% if request.GET.debug == '1' %} |
|
|
|
|
|
|
|
<script src="{% static 'client/js/_modules/page.place.photo.js' %}"></script> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
|
|
|
|
<script src="{% static 'client/js_min/_modules/page.place.photo.min.js' %}"></script> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
//js module initialization |
|
|
|
|
|
|
|
EXPO.placePhoto.init({ |
|
|
|
EXPO.placePhoto.init({ |
|
|
|
ajaxUrl:'http://hit.expomap.ru/gallery/show/photo/', |
|
|
|
ajaxUrl:'http://hit.expomap.ru/gallery/show/photo/', |
|
|
|
galleryContainerId:'cli-pg', |
|
|
|
galleryContainerId:'cli-pg', |
|
|
|
|