Fotobug Agenturbild

This commit is contained in:
holger.trampe 2019-12-12 21:44:13 +01:00
parent 57e47e9234
commit dfbd179238
4 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -24,7 +24,7 @@
</p> </p>
<h6><b>Agenturbild</b></h6> <h6><b>Agenturbild</b></h6>
<p> <p>
<img class="img-profile" width="75%" src="{{ request.user.profile.agency.agencypic.get_photo_url }}"> <img class="img-profile" width="75%" src="{{ request.user.profile.agency.get_photo_url }}">
</p> </p>
</div> </div>
{% if perms.users.agency_change %} {% if perms.users.agency_change %}

View File

@ -34,7 +34,7 @@
<div class="card ml-2 mb-2 col-3"> <div class="card ml-2 mb-2 col-3">
<div class="card-body"> <div class="card-body">
<img width="100%" src="{{ request.user.profile.get_photo_url }}"> <img width="100%" src="{{ request.user.profile.agency.get_photo_url }}">
</div> </div>
</div> </div>