Rename title for statistic and work pages
This commit is contained in:
parent
74661bd7a4
commit
ccae7ada4b
@ -40,7 +40,7 @@
|
||||
{% else %}
|
||||
class="btn btn-secondary"
|
||||
{% endif %}
|
||||
href="{{ work_url }}">Запрос прав</a>
|
||||
href="{{ work_url }}">Мои Права</a>
|
||||
{% endif %}
|
||||
<a class="btn btn-secondary" href="{% url 'logout' %}">Выйти</a>
|
||||
{% else %}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
{% block title %}{{ pagename }}{% endblock %}
|
||||
|
||||
{% block heading %} Страницы просмотра статистики{% endblock %}
|
||||
{% block heading %} Статистика {% endblock %}
|
||||
|
||||
{% block content%}
|
||||
<div class="mt-5 py-4">
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
{% block title %}{{ pagename }}{% endblock %}
|
||||
|
||||
{% block heading %}Управление правами{% endblock %}
|
||||
{% block heading %}Мои Права{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
<link rel="stylesheet" href="{% static 'main/css/work.css' %}" xmlns="http://www.w3.org/1999/html">
|
||||
|
@ -203,7 +203,7 @@ def work_page(request: WSGIRequest, required_id: int) -> HttpResponse:
|
||||
'agents': light_agents,
|
||||
'messages': messages.get_messages(request),
|
||||
'licences_remaining': max(0, ZENDESK_MAX_AGENTS - len(engineers)),
|
||||
'pagename': 'Управление правами',
|
||||
'pagename': 'Мои Права',
|
||||
'get_tickets_form': WorkGetTicketsForm()
|
||||
}
|
||||
return render(request, 'pages/work.html', context)
|
||||
@ -416,7 +416,7 @@ def statistic_page(request: WSGIRequest) -> HttpResponse:
|
||||
if not request.user.has_perm("main.has_control_access"):
|
||||
return redirect('index')
|
||||
context = {
|
||||
'pagename': 'страница статистики',
|
||||
'pagename': 'Статистика',
|
||||
'errors': list(),
|
||||
}
|
||||
if request.method == "POST":
|
||||
|
Loading…
x
Reference in New Issue
Block a user