|
|
|
|
@ -8,7 +8,7 @@ |
|
|
|
|
width: 20px; |
|
|
|
|
margin-right: 5px; |
|
|
|
|
background-size: cover; |
|
|
|
|
background: url('/static/img/menu2.png') no-repeat 0 0; |
|
|
|
|
background: url('{% static 'img/menu2.png' %}') no-repeat 0 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
div.icon_mm2 { |
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
|
width: 20px; |
|
|
|
|
margin-right: 5px; |
|
|
|
|
background-size: cover; |
|
|
|
|
background: url('/static/img/menu2.png') no-repeat 0 -20px; |
|
|
|
|
background: url('{% static 'img/menu2.png' %}') no-repeat 0 -20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|
@ -42,10 +42,10 @@ |
|
|
|
|
{% url "users:customer-profile-open-projects" pk=contact.pk as contact_url %} |
|
|
|
|
{% endif %} |
|
|
|
|
<div style="display: flex; align-items: center"> |
|
|
|
|
{% if request.user.is_contractor %} |
|
|
|
|
<div class="icon_mm1"></div> |
|
|
|
|
{% else %} |
|
|
|
|
{% if contact.is_contractor %} |
|
|
|
|
<div class="icon_mm2"></div> |
|
|
|
|
{% else %} |
|
|
|
|
<div class="icon_mm1"></div> |
|
|
|
|
{% endif %} |
|
|
|
|
<a href="{{ contact_url }}" style="color:black;">{{ contact.username }}</a> |
|
|
|
|
</div> |
|
|
|
|
|