0.0.110
This commit is contained in:
@@ -1,29 +1,17 @@
|
||||
{% extends 'tb_base.html' %}
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
{% block CONTENT %}
|
||||
|
||||
<div>
|
||||
Контакты
|
||||
<div>
|
||||
{% for office in offices %}
|
||||
<div>
|
||||
{% if office.picture %}
|
||||
<img src="{{ MEDIA_URL }}{{ office.picture }}" alt="{{ office.city }}" />
|
||||
{% endif %}
|
||||
<div>{{ office.city }}</div>
|
||||
<div>{{ office.address }}</div>
|
||||
Часы работы:
|
||||
<div>{{ office.work_time_from }} - {{ office.work_time_to }}</div>
|
||||
<div>{{ office.work_time }}</div>
|
||||
<div>
|
||||
{% for contact in office.contacts %}
|
||||
<div>
|
||||
{% if contact.contact_label %}{{ contact.contact_label }}: {% endif %}{{ contact.get_prefix_w_data }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div {% include "block_settings/blocks_settings.html" %}>
|
||||
<div class="cut-width">
|
||||
<div class="b_contacts">
|
||||
<div class="title_of_the_page_contacts">{% translate 'Контакты' %}</div>
|
||||
<div class="cards_contacts_container">
|
||||
{% for office in offices %}
|
||||
{% include "widgets/w_card_office.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user