1.0.9 add title for news create_route_for_customer, create_route_for_mover
This commit is contained in:
@@ -85,8 +85,8 @@ def ArticlesPageView(request, year=None):
|
||||
Dict = get_articles(art_kwargs=kwargs)
|
||||
Dict.update({
|
||||
'page': {
|
||||
'title': _('Страница списка новостей'),
|
||||
'description': _('Все новости сайта tripwb.com'),
|
||||
'title': _('Новости сервиса доставки посылок | TWB'),
|
||||
'description': _('Обновления, полезные статьи и свежие новости от TWB ✓ Актуальные новости в мире доставок по всему СНГ ➡️ Следите за нашими новостями'),
|
||||
'keywords': _('Все новости сайта tripwb.com'),
|
||||
}
|
||||
})
|
||||
|
||||
@@ -62,15 +62,15 @@ def profile_page_View(request, page_name, id=None):
|
||||
request.user.user_profile.save(update_fields=['mailing_on'])
|
||||
del request.session['mailingSubscribeRequired']
|
||||
|
||||
title = _('Личный кабинет пользователя') + ' ' + request.user.first_name + ' ' + request.user.last_name
|
||||
|
||||
Dict.update({
|
||||
'page': {
|
||||
'title': title,
|
||||
'description': title,
|
||||
'keywords': title,
|
||||
}
|
||||
})
|
||||
# title = _('Личный кабинет пользователя') + ' ' + request.user.first_name + ' ' + request.user.last_name
|
||||
#
|
||||
# Dict.update({
|
||||
# 'page': {
|
||||
# 'title': title,
|
||||
# 'description': title,
|
||||
# 'keywords': title,
|
||||
# }
|
||||
# })
|
||||
|
||||
# if request.GET and 'mobile' in request.GET and request.GET['mobile'] == 'true':
|
||||
# Dict.update({
|
||||
|
||||
@@ -39,12 +39,13 @@ msgid "Статьи"
|
||||
msgstr "Articles"
|
||||
|
||||
#: ArticlesApp/views.py:88
|
||||
msgid "Страница списка новостей"
|
||||
msgstr "News list page"
|
||||
msgid "Новости сервиса доставки посылок | TWB"
|
||||
msgstr "Parcel Delivery Service News | TWB"
|
||||
|
||||
#: ArticlesApp/views.py:89 ArticlesApp/views.py:90
|
||||
msgid "Все новости сайта tripwb.com"
|
||||
msgstr "All website news on tripwb.com"
|
||||
msgid "Обновления, полезные статьи и свежие новости от TWB ✓ Актуальные новости в мире доставок по всему СНГ ➡️ Следите за нашими новостями"
|
||||
msgstr "Updates, useful articles, and fresh news from TWB ✓ Current news in the world of deliveries throughout the CIS ➡️ Stay tuned for our updates"
|
||||
|
||||
|
||||
#: AuthApp/admin.py:52
|
||||
msgid "Дополнительно"
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
<div class="wrapper_switch_cont">
|
||||
<div class="width-100">
|
||||
<div class="label_toggle_switch_cont">
|
||||
<label for="id_paid_toggle">{% translate "Автопродление тарифного плана" %}</label>
|
||||
{# <label for="id_paid_toggle">{% translate "Автопродление тарифного плана" %}</label>#}
|
||||
</div>
|
||||
<div class="toggle_switch_cont">
|
||||
<input class="input_toggle_switch" id="id_paid_toggle" name="paid_toggle" type="checkbox">
|
||||
<div class="input_toggle_switch_display"></div>
|
||||
<div class="toggler_input_switch"></div>
|
||||
{# <div class="toggle_switch_cont">#}
|
||||
{# <input class="input_toggle_switch" id="id_paid_toggle" name="paid_toggle" type="checkbox">#}
|
||||
{# <div class="input_toggle_switch_display"></div>#}
|
||||
{# <div class="toggler_input_switch"></div>#}
|
||||
</div>
|
||||
<div class="clear_both"></div>
|
||||
</div>
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% block meta %}
|
||||
|
||||
|
||||
<script src='{% static "js/find_route.js" %}'></script>
|
||||
<script src="{% static "js/filters_functions_find_route.js" %}"></script>
|
||||
<script src="{% static "js/dynamic_loading_routes.js" %}"></script>
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
{% extends 'tb_base.html' %}
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% if page_name == 'create_route_for_customer' %}
|
||||
{% trans 'Отправить посылку в другие города| TWB' %}
|
||||
{% elif page_name == 'create_route_for_mover' %}
|
||||
{% trans 'Перевезти посылку в другие города | TWB' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block meta %}
|
||||
@@ -7,11 +16,9 @@
|
||||
<script src='{% static "js/ion.rangeSlider.min.js" %}'> </script>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" rel="stylesheet">
|
||||
<script src='{% static "js/user_profile.js" %}'> </script>
|
||||
|
||||
<title>123</title>
|
||||
{# <script src='{% static "js/chat_sockets.js" %}'></script>#}
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/ion.rangeSlider.min.css' %}">
|
||||
<script src='{% static "js/user_profile_2.js" %}'> </script>
|
||||
{% include "connect_ws_js.html" %}
|
||||
@@ -19,10 +26,10 @@
|
||||
|
||||
<script defer src='{% static "js/check_new_messages.js" %}'></script>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% include 'blocks/b_user_profile.html' %}
|
||||
|
||||
@@ -13,6 +13,15 @@
|
||||
<meta name="vapid-key" content="{{ vapid_key }}">
|
||||
{% webpush_header %}
|
||||
|
||||
|
||||
<title>
|
||||
{% if page.title %}
|
||||
{{ page.title }}
|
||||
{% else %}
|
||||
{% block title %}{% endblock %}
|
||||
{% endif %}
|
||||
</title>
|
||||
|
||||
{% include "inter/meta_names.html" %}
|
||||
{# <script src='{% static "js/jquery_v3_6_4.js" %}'> </script>#}
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
{% load i18n %}
|
||||
|
||||
|
||||
|
||||
<div class="carrier-card" data-number-of-route="{{ route.id }}">
|
||||
<div class="left-part-carrier-card">
|
||||
{# <div class="first-line-card-carrier">#}
|
||||
|
||||
Reference in New Issue
Block a user