You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.4 KiB
59 lines
2.4 KiB
{% load static %}
|
|
{% load i18n %}
|
|
{% load template_filters %}
|
|
|
|
<ul class="cat-list cl-places">
|
|
{% for object in object_list %}
|
|
<li class="cl-item">
|
|
<div class="cl-item-wrap clearfix">
|
|
<a href="/{{ filter|generate_url }}/place-{{ object.url }}">
|
|
<div class="cli-pict">
|
|
{% with obj=object %}
|
|
{% include 'client/includes/show_logo.html' %}
|
|
{% endwith %}
|
|
</div>
|
|
</a>
|
|
<div class="cli-info">
|
|
<div class="cli-top clearfix">
|
|
<div class="cli-approved">
|
|
{% if object.approved %}
|
|
<img src="{% static 'clint/img/approved-logo.png' %}" alt="" title="Approved Event" />
|
|
{% endif %}
|
|
</div>
|
|
<header>
|
|
<div class="cli-title"><a href="/{{ filter|generate_url }}/place-{{ object.url }}">{{ object.name|safe }}</a></div>
|
|
<!--<div class="cli-rate">551</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="#">{{ object.country }}</a>, <a href="#">{{ object.city }}</a>, <a href="{{ object.get_permanent_url }}">{{ object.adress }}</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cli-buttons clearfix">
|
|
<div class="cli-m-buttons">
|
|
<a class="button icon-info" href="/{{ filter|generate_url }}/place-{{ object.url }}">{% trans 'описание' %}</a>
|
|
{% if object.get_events_number %}
|
|
<a class="button green icon-list" href="#">{% trans 'события' %} ({{ object.get_events_number }})</a>
|
|
{% endif %}
|
|
{% if object.get_photos %}
|
|
<a class="button blue icon-photo" href="/{{ filter|generate_url }}/place-{{ object.url }}/photo">{% trans 'фото' %}</a>
|
|
{% endif %}
|
|
</div>
|
|
<!--
|
|
<div class="cli-s-buttons">
|
|
<a class="button blue2 lc" href="#">{% trans 'Найти отели поблизости' %}</a>
|
|
</div>
|
|
-->
|
|
</div>
|
|
|
|
</div>
|
|
</li>
|
|
{% endfor %}
|
|
</ul> |