File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
templates/pages/admin/user Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 54
54
{% set picture_field %}
55
55
<div
56
56
{% if can_update %}
57
- class =" cursor-pointer flex-shrink-1" title =" {{ __(' Change picture' ) }}" role =" button" data-bs-toggle =" modal" data-bs-target =" #modal_picture_{{ rand_field }}" id = " change_picture_{{ rand_field }} "
57
+ class =" cursor-pointer flex-shrink-1" title =" {{ __(' Change picture' ) }}" role =" button" data-bs-toggle =" modal" data-bs-target =" #modal_picture_{{ rand_field }}"
58
58
{% endif %}>
59
59
<div data-current-avatar >{{ avatar }}</div >
60
60
<div data-default-avatar class =" d-none" >{{ avatar_initials }}</div >
61
61
<div class =" avatar avatar-xl rounded d-none" data-preview-avatar >
62
62
<img src =" " alt =" {{ __(' Preview' ) }}" class =" img-fluid" />
63
63
</div >
64
64
</div >
65
- <script type =" text/javascript" >
66
- new bootstrap.Tooltip (document .getElementById (' change_picture_{{ rand_field }}' ));
67
- </script >
68
-
69
65
{% if can_update %}
70
66
{% set modal_content %}
71
67
<div class =" text-center" >
You can’t perform that action at this time.
0 commit comments