MDL-76246 core_grades: Improve user search styling

Show profile image, and display email in a separate line
This commit is contained in:
Shamim Rezaie 2023-02-22 05:53:46 +11:00
parent d2881df06b
commit 1a01607463

View File

@ -40,11 +40,21 @@
</span>
{{/name}}
{{^name}}
<span class="w-50 pull-left text-truncate mr-2">
{{fullname}}
</span>
<span class="w-50 pull-left text-truncate small email">
{{email}}
</span>
<div class="d-block pr-2 w-25">
{{#profileimage}}
<img class="userpicture w-75 mx-auto d-block" src="{{profileimage}}" alt="" />
{{/profileimage}}
{{^profileimage}}
<span class="userinitials"></span>
{{/profileimage}}
</div>
<div class="d-block pr-3 w-75">
<span class="w-100 p-0 font-weight-bold">
{{fullname}}
</span>
<span class="w-100 pull-left text-truncate small">
{{email}}
</span>
</div>
{{/name}}
</li>