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.
110 lines
4.5 KiB
110 lines
4.5 KiB
{% load static %}
|
|
{% load i18n %}
|
|
{% load template_filters %}
|
|
|
|
|
|
<ul class="cat-list cl-exhibitions">
|
|
|
|
{% for result in query %}
|
|
|
|
<li class="cl-item {% if result.object.canceled %}canceled{% endif %}">
|
|
<div class="cl-item-wrap clearfix">
|
|
<a href="{{ result.object.get_permanent_url }}">
|
|
{% if result.object.canceled %}
|
|
<div class="cancel"></div>
|
|
{% else %}
|
|
{% if result.object.expohit %}
|
|
<div class="hit"></div>
|
|
{% endif %}
|
|
{% endif %}
|
|
<div class="cli-pict">
|
|
{% with obj=result.object %}
|
|
{% include 'client/includes/show_logo.html' %}
|
|
{% endwith %}
|
|
</div>
|
|
</a>
|
|
<div class="cli-info">
|
|
<div class="cli-top clearfix">
|
|
{% if result.object.quality_label.ufi.is_set %}
|
|
<div class="cli-approved">
|
|
<img src="{% static 'client/img/approved-logo.png' %}" alt="" title="Approved Event" />
|
|
</div>
|
|
{% endif %}
|
|
<header>
|
|
<div class="cli-title"><a href="{{ result.object.get_permanent_url }}">{{ result.object.name|safe }}</a></div>
|
|
</header>
|
|
<div class="cli-descr">
|
|
|
|
<!--{{ result.object.main_title|safe }}-->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cli-bot clearfix">
|
|
|
|
<div class="cli-date">
|
|
{% with obj=result.object %}
|
|
{% include 'client/includes/show_date_block.html' %}
|
|
{% endwith %}
|
|
</div>
|
|
{% if result.object.country %}
|
|
<div class="cli-place">
|
|
<a href="#">{{ result.object.country }}</a>, <a href="#">{{ result.object.city }}</a>,
|
|
|
|
{% if result.object.place %}
|
|
<a href="{{ result.object.place.get_permanent_url }}">{{ result.object.place }}</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cli-buttons clearfix">
|
|
<div class="cli-m-buttons">
|
|
<div class="cli-services">
|
|
<a class="button icon-sm" href="#">{% trans 'услуги' %}</a>
|
|
<div class="cli-services-sm">
|
|
<ul>
|
|
{% for service in result.object.get_services %}
|
|
<li><a href="#">{{ service.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a class="button blue icon-calendar" href="#">
|
|
{% if user.is_authenticated %}
|
|
{% if result.object|in_calendar:user %}
|
|
{% trans 'из расписания' %}
|
|
{% else %}
|
|
{% trans 'в расписание' %}
|
|
{% endif %}
|
|
{% else %}
|
|
{% trans 'в расписание' %}
|
|
{% endif %}
|
|
</a>
|
|
<a class="button green icon-note" href="#">{% trans 'заметка' %}</a>
|
|
</div>
|
|
|
|
<div class="cli-s-buttons">
|
|
<a class="button blue2 lc" href="#">{% trans 'Лучшие цены на отели на' %} <i>Booking</i>.com</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer class="clearfix">
|
|
<div class="cli-stats">
|
|
{% if result.object.visitors %}
|
|
<span class="visitors" title="Посетители">{{ result.object.visitors }}</span>
|
|
{% endif %}
|
|
{% if result.object.members %}
|
|
<span class="participants" title="Участники">{{ result.object.members }}</span>
|
|
{% endif %}
|
|
</div>
|
|
<div class="cli-tags">
|
|
{% with obj=result.object filter=filter %}
|
|
{% include 'includes/show_tags.html' %}
|
|
{% endwith %}
|
|
</div>
|
|
</footer>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|