исправил ссылки у платных выставок

stage8
Slava Kyrachevsky 8 years ago
parent 3b246b66bd
commit 420a87e0a7
  1. 7
      templates/client/exposition/exposition_detail.html

@ -154,10 +154,13 @@
<div class="exposition_main_image" {% if exposition.main_image %}data-background="{% thumbnail exposition.main_image '937x244' crop='center' %}"{% endif %}>
<div class="buttons">
<a href="{% url 'expo_service' object.url 'tickets' %}" class="orange">{% trans 'Посетителю' %}</a>
<a href="{% url 'expo_price' object.url %}" class="green">{% trans 'Экспоненту' %}</a>
{% if object.paid_new_id and object.paid_new.public %}
<a href="{{ object.paid_new.tickets.get_click_link }}" class="orange">{% trans 'Билеты' %}</a>
<a href="{{ object.paid_new.participation.get_click_link }}" class="green">{% trans 'Участвовать' %}</a>
<a href="{{ object.paid_new.official.get_click_link }}" class="pink">{% trans 'Официальный сайт' %}</a>
{% else %}
<a href="{% url 'expo_service' object.url 'tickets' %}" class="orange">{% trans 'Посетителю' %}</a>
<a href="{% url 'expo_price' object.url %}" class="green">{% trans 'Экспоненту' %}</a>
{% endif %}
</div>
</div>

Loading…
Cancel
Save