0.0.141 swap url senders/movers

This commit is contained in:
2023-09-19 14:01:44 +03:00
parent d0359907d7
commit b33664d3c1
2 changed files with 20 additions and 3 deletions

View File

@@ -22,8 +22,8 @@
<div>
<div><a href="{% url 'profile_page' 'create_route_for_mover' %}">Перевезти посылку</a></div>
<div><a href="{% url 'profile_page' 'create_route_for_customer' %}">Отправить посылку</a></div>
<div><a href="{% url 'static_page' 'for_movers' %}">Для отправителя</a></div>
<div><a href="{% url 'static_page' 'for_customers' %}">Для перевозчика</a></div>
<div><a href="{% url 'static_page' 'for_customers' %}">Для отправителя</a></div>
<div><a href="{% url 'static_page' 'for_movers' %}">Для перевозчика</a></div>
</div>
</div>
</div>

View File

@@ -4,7 +4,24 @@
<div class="top_block_static">
<h2 id=title_static>{{ page.title }}</h2>
{% if page.url == 'for_customers' %}
<div class="title_static_wrapper">
<h2 id=title_static>{% translate "Отправляй" %}</h2>
<span class="color_title">{% translate "посылку" %}</span>
<h2 id=title_static>{% translate "в любую точку мира" %}</h2>
<h2 id=title_static>!</h2>
</div>
{% endif %}
{% if page.url == 'for_movers' %}
<div class="title_static_wrapper">
<h2 id=title_static>{% translate "Путешествуй по миру и" %}</h2>
<span class="color_title">{% translate "перевози" %}</span>
<h2 id=title_static>{% translate "посылки" %}</h2>
<h2 id=title_static>!</h2>
</div>
{% endif %}
<span id="sub_title_static">{{ page.description }}</span>
<div class="button_container">
<button id="more_button">{% translate "Отправить посылку" %}</button>