Skip to content

Commit

Permalink
Remove unused conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Sep 21, 2023
1 parent 853fbcf commit 97f3deb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/peoplefinder/templates/peoplefinder/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@
<div class="govuk-grid-row govuk-!-margin-bottom-6">
<div class="govuk-grid-column-one-third">
{% if profile.photo %}
{% if is_ee %}
{% else %}
<div {% profile_photo_attrs profile %}>
<img src="{{ profile.photo.url }}" width="100%">
</div>
{% endif %}
<div {% profile_photo_attrs profile %}>
<img src="{{ profile.photo.url }}" width="100%">
</div>
{% else %}
<img src="{% webpack_static 'no-photo-large.png' %}" width="100%">
{% endif %}
Expand Down

0 comments on commit 97f3deb

Please sign in to comment.