Merge branch 'develop' of http://git.general-servers.com/expomap/expomap
commit
13abedbafe
14 changed files with 308 additions and 275 deletions
@ -1,56 +1,53 @@ |
|||||||
{% load static %} |
{% load static %} |
||||||
{% load i18n %} |
{% load i18n %} |
||||||
|
|
||||||
|
{% with objects=object_list %} |
||||||
<ul class="cat-list cl-places"> |
<ul class="cat-list cl-places"> |
||||||
{% for object in object_list %} |
{% for object in object_list %} |
||||||
<li class="cl-item" {% if forloop.counter == 1 %}style="border:1px solid #ff6600;"{% else %}{% endif %}> |
<li class="cl-item" {% if forloop.counter == 1 %}style="border:1px solid #ff6600;"{% else %}{% endif %}> |
||||||
<div class="cl-item-wrap clearfix"> |
<div class="cl-item-wrap clearfix"> |
||||||
<a href="{{ object.get_permanent_url }}"> |
<a href="{{ object.get_permanent_url }}"> |
||||||
<div class="cli-pict"> |
<div class="cli-pict"> |
||||||
{% with obj=object %} |
{% with obj=object %} |
||||||
{% include 'client/includes/show_logo.html' %} |
{% include 'client/includes/show_logo.html' %} |
||||||
{% endwith %} |
{% endwith %} |
||||||
|
</div> |
||||||
|
</a> |
||||||
|
<div class="cli-info"> |
||||||
|
<div class="cli-top clearfix"> |
||||||
|
|
||||||
|
<header> |
||||||
|
<div class="cli-title"><a href="{{ object.get_permanent_url }}">{{ object.name|safe }}</a></div> |
||||||
|
<!--<div class="cli-rate">{{ object.rating }}</div>--> |
||||||
|
</header> |
||||||
|
|
||||||
|
<div class="cli-descr">{{ object.get_type }}</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="cli-bot clearfix"> |
||||||
|
{% if object.total_area %} |
||||||
|
<div class="cli-dim">{{ object.total_area }} м2</div> |
||||||
|
{% endif %} |
||||||
|
<div class="cli-place"><a href="/places/country/{{ object.country.url }}/">{{ object.country }}</a>, <a href="/places/city/{{ object.city.url }}/">{{ object.city }}</a> |
||||||
|
</div> |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
</a> |
|
||||||
<div class="cli-info"> |
|
||||||
<div class="cli-top clearfix"> |
|
||||||
|
|
||||||
<header> |
|
||||||
<div class="cli-title"><a href="{{ object.get_permanent_url }}">{{ object.name|safe }}</a></div> |
|
||||||
<!--<div class="cli-rate">{{ object.rating }}</div>--> |
|
||||||
</header> |
|
||||||
|
|
||||||
<div class="cli-descr">{{ object.get_type }}</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="cli-bot clearfix"> |
|
||||||
{% if object.total_area %} |
|
||||||
<div class="cli-dim">{{ object.total_area }} м2</div> |
|
||||||
{% endif %} |
|
||||||
<div class="cli-place"><a href="/places/country/{{ object.country.url }}/">{{ object.country }}</a>, <a href="/places/city/{{ object.city.url }}/">{{ object.city }}</a> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="cli-buttons clearfix"> |
|
||||||
<div class="cli-m-buttons"> |
|
||||||
<a class="button icon-info" href="{{ object.get_permanent_url }}">{% trans 'описание' %}</a> |
|
||||||
{% if object.get_events_number %} |
|
||||||
<a class="button green icon-list" href="#">{% trans 'события' %} ({{ object.get_events_number }})</a> |
|
||||||
{% endif %} |
|
||||||
{% if object.photogallery %} |
|
||||||
<a class="button blue icon-photo" href="{{ object.get_permanent_url }}photo/">{% trans 'фото' %}</a> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
<div class="cli-s-buttons"> |
|
||||||
|
|
||||||
<a class="button blue2 lc" target="_blank" href="http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ object.city.id }}">{% trans 'Найти отели поблизости' %}</a> |
<div class="cli-buttons clearfix"> |
||||||
</div> |
<div class="cli-m-buttons"> |
||||||
|
<a class="button icon-info" href="{{ object.get_permanent_url }}">{% trans 'описание' %}</a> |
||||||
</div> |
{% if object.get_events_number %} |
||||||
|
<a class="button green icon-list" href="#">{% trans 'события' %} ({{ object.get_events_number }})</a> |
||||||
|
{% endif %} |
||||||
</li> |
{% if object.photogallery %} |
||||||
{% endfor %} |
<a class="button blue icon-photo" href="{{ object.get_permanent_url }}photo/">{% trans 'фото' %}</a> |
||||||
</ul> |
{% endif %} |
||||||
|
</div> |
||||||
|
<div class="cli-s-buttons"> |
||||||
|
<a class="button blue2 lc" target="_blank" href="http://www.booking.com/searchresults.html?aid={{ book_aid }}&city={{ object.city.id }}">{% trans 'Найти отели поблизости' %}</a> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</li> |
||||||
|
{% endfor %} |
||||||
|
</ul> |
||||||
|
{% endwith %} |
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue