profile look fix
This commit is contained in:
parent
709718ec44
commit
bdd5a68b26
@ -23,7 +23,7 @@
|
||||
{% block content %}
|
||||
<br>
|
||||
<div class="row px-4 py-4">
|
||||
<div class="col-auto">
|
||||
<div class="col-auto px-4 py-4">
|
||||
<div class="container">
|
||||
<img
|
||||
src="{% if profile.image %}{{ profile.image }}{% else %}{% static 'no_avatar.png' %}{% endif %}"
|
||||
@ -31,7 +31,9 @@
|
||||
alt="Нет изображения"
|
||||
>
|
||||
</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 class="col">
|
||||
<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 %}
|
||||
<h5><strong>light_agent</strong></h5>
|
||||
{% else %}
|
||||
<h5><strong><small class="text-muted">None</small></strong></h5>
|
||||
<h5><strong><small class="text-muted">Без роли</small></strong></h5>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
@ -52,7 +54,7 @@
|
||||
<br>
|
||||
<div align="center" >
|
||||
<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>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user