profile look fix
This commit is contained in:
parent
709718ec44
commit
bdd5a68b26
@ -23,7 +23,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<br>
|
<br>
|
||||||
<div class="row px-4 py-4">
|
<div class="row px-4 py-4">
|
||||||
<div class="col-auto">
|
<div class="col-auto px-4 py-4">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<img
|
<img
|
||||||
src="{% if profile.image %}{{ profile.image }}{% else %}{% static 'no_avatar.png' %}{% endif %}"
|
src="{% if profile.image %}{{ profile.image }}{% else %}{% static 'no_avatar.png' %}{% endif %}"
|
||||||
@ -31,7 +31,9 @@
|
|||||||
alt="Нет изображения"
|
alt="Нет изображения"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<a href="{%url 'password_change' %}">Сменить пароль</a>
|
<div class="px-3 py-5">
|
||||||
|
<a href="{%url 'password_change' %}" class="btn btn-light px-1 py-1">Сменить пароль</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4><span class="badge bg-secondary text-light">Имя пользователя</span></h4> <h5><strong>{{ profile.name }}</strong></h5>
|
<h4><span class="badge bg-secondary text-light">Имя пользователя</span></h4> <h5><strong>{{ profile.name }}</strong></h5>
|
||||||
@ -44,7 +46,7 @@
|
|||||||
{% elif profile.custom_role_id == ZENDESK_ROLES.light_agent %}
|
{% elif profile.custom_role_id == ZENDESK_ROLES.light_agent %}
|
||||||
<h5><strong>light_agent</strong></h5>
|
<h5><strong>light_agent</strong></h5>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h5><strong><small class="text-muted">None</small></strong></h5>
|
<h5><strong><small class="text-muted">Без роли</small></strong></h5>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -52,7 +54,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<div align="center" >
|
<div align="center" >
|
||||||
<form action="">
|
<form action="">
|
||||||
<a href="{% url 'work' profile.user.id %}" class="btn btn-primary btn-lg">Запросить права доступа</a>
|
<a href="{% url 'work' profile.user.id %}" class="btn btn-primary btn-lg px-3 py-3">Запросить права доступа</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user