EXPO-25 place/place_photo.html:77

remotes/origin/1203
pavel 11 years ago
parent fc6559b220
commit fdc03f5b86
  1. 17
      templates/client/place/place_photo.html

@ -2,8 +2,6 @@
{% load static %}
{% load i18n %}
{% load template_filters %}
{% block page_body %}
<div class="m-article cl-photos">
<div class="cl-item">
@ -36,14 +34,11 @@
</div>
</div>
</div>
<div class="cli-photo-text">
{{ object.description|safe }}
</div>
<div id="cli-pg" class="cli-photo-gallery">
<ul class="clearfix">
{% for photo in object_list %}
<li>
<a class="open-photo" href="#" >
@ -52,27 +47,25 @@
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
{% block paginator %}
{% with page_obj=page_obj queries=queries %}
{% include 'includes/paginator.html' %}
{% endwith %}
{% endblock %}
{% endblock %}
{% block photogallery %}
{% include 'client/popups/photo.html' %}
{% endblock %}
{% 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>
//js module initialization
EXPO.placePhoto.init({
ajaxUrl:'http://hit.expomap.ru/gallery/show/photo/',
galleryContainerId:'cli-pg',

Loading…
Cancel
Save