new
parent
ec96530ee9
commit
38d673b89b
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
{% load static %}
|
||||
{% for connection in connections %}
|
||||
<div class="w-[35px] h-[35px] rounded-full {% if not forloop.first %} -ml-5 {% endif %} ">
|
||||
{% if connection.user.staffprofile.image %}
|
||||
<img src="{{ connection.user.staffprofile.image.url }}" class="w-full h-full rounded-full object-cover">
|
||||
{% if connection.image %}
|
||||
<img src="{{ connection.image}}" class="w-full h-full rounded-full object-cover">
|
||||
{% else %}
|
||||
<div class="w-full h-full border border-osiblue bg-osiblue text-white uppercase rounded-full flex justify-center items-center p-1 shadow-md">
|
||||
{{ connection.user.first_name.0 }}{{ connection.user.last_name.0 }}
|
||||
{{ connection.first_name.0 }}{{ connection.last_name.0 }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue