Merge branch 'develop' into feature/statistic/month_name_bug
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{% block title %}{{ pagename }}{% endblock %}
|
||||
|
||||
|
||||
{% block heading %}Профиль{% endblock %}
|
||||
{% block heading %}<h1>Профиль</h1>{% endblock %}
|
||||
|
||||
|
||||
{% block extra_css %}
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
{% block content %}
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="row px-4 py-4">
|
||||
<div class="col-auto">
|
||||
<div class="container">
|
||||
<img
|
||||
@@ -34,22 +34,25 @@
|
||||
<a href="{%url 'password_change' %}">Сменить пароль</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h5><span class="badge bg-secondary text-light">Имя пользователя</span> {{ profile.name }}</h5>
|
||||
<h4><span class="badge bg-secondary text-light">Имя пользователя</span></h4> <h5><strong>{{ profile.name }}</strong></h5>
|
||||
<br>
|
||||
<h5><span class="badge bg-secondary text-light">Электронная почта</span> {{ profile.user.email }}</h5>
|
||||
<h4><span class="badge bg-secondary text-light">Электронная почта</span></h4> <h5><strong>{{ profile.user.email }}</strong></h5>
|
||||
<br>
|
||||
<h5><span class="badge bg-secondary text-light">Текущая роль</span>
|
||||
<h4><span class="badge bg-secondary text-light">Текущая роль</span> </h4>
|
||||
{% if profile.custom_role_id == ZENDESK_ROLES.engineer %}
|
||||
engineer
|
||||
<h5><strong>engineer</strong></h5>
|
||||
{% elif profile.custom_role_id == ZENDESK_ROLES.light_agent %}
|
||||
light_agent
|
||||
<h5><strong>light_agent</strong></h5>
|
||||
{% else %}
|
||||
<h5><strong><small class="text-muted">None</small></strong></h5>
|
||||
{% endif %}
|
||||
</h5>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div align="center">
|
||||
<br>
|
||||
<div align="center" >
|
||||
<form action="">
|
||||
<a href="{% url 'work' profile.user.id %}" class="btn btn-primary"><big>Запросить права доступа</big></a>
|
||||
<a href="{% url 'work' profile.user.id %}" class="btn btn-primary btn-lg">Запросить права доступа</a>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
12
main/templates/pages/registration_failed.html
Normal file
12
main/templates/pages/registration_failed.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'base/base.html' %}
|
||||
|
||||
{% block title %}
|
||||
Регистрация закрыта
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div style="margin: 10%; text-align: center;">
|
||||
<p style="color: rgb(201, 58, 63); font-size: 72px;">К сожалению, регистрация закрыта.</p>
|
||||
<a type="button" class="btn btn-outline-primary btn-lg" href="/">На главную</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user