Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p>
- «Здравствуйте!<br><br>
- Хочу снять{#
- #}{% if flat and flat.building_type == 'cottage' %} коттедж{% elif flat and flat.building_type == 'room' %} комнату{% else %} квартиру{% endif %}{#
- #}{% if address %} по адресу {{ address }}{% endif %}.{#
- #}{% if places_formated %}{#
- #} Для {{ places_formated }}{#
- #}{% endif %}{#
- #}{% if arrival == departure %}{{ dates_formated }}.{% else %} свободно?{% endif %}»
- </p>
- {% endif %}
- <p>
- {% if flat %}
- <a href="{{ flat.get_absolute_url() }}">{{ flat.formatted_address }}</a>
- {% endif %}<br>
- {% if arrival %}{% if departure and arrival.month == departure.month and arrival.day == departure.day %}{% elif departure and arrival.month == departure.month and not arrival.day == departure.day %}{{ arrival|strftime(format='%d') }} — {% else %}{{ arrival|strftime(format='%d %B') }} — {% endif %}{% endif %}{% if departure %}{{ departure|strftime(format='%d %B') }}{% endif %}<br>
- {% if place %}{{ place }} {{ place|choose_plural(['человек', 'человека', 'человек']) }}<br>{% endif %}
- {% if contacts_phone %}{{ contacts_phone }}{% endif %}
- </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement