Skip to content

Commit

Permalink
feat(vote): removed thumbnail config duplicated
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomario committed Sep 2, 2024
1 parent 67f479c commit 2522c0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h6 class="text-uppercase fw-bold"><i class="ds-sidebar-bars"></i> Filtrar resul
{% for candidature in candidatures %}
<div class="g-col-12 g-col-md-6 g-col-lg-4">
<a class="card" href="{% url 'candidate_profile' candidature.slug %}">
<img src="{{ candidature.photo|thumbnail_url:'card-photo' }}" class="card-img-top" alt="Foto de {{ candidature.legal_name }}">
<img src="{{ candidature.photo|thumbnail_url:'profile-photo' }}" class="card-img-top" alt="Foto de {{ candidature.legal_name }}">
<div class="card-body px-2 py-1">
<p class="state-city mb-1 text-black-50">{{ candidature.get_state_display }} - {{ candidature.get_city_display }}</p>
<div class="card-title">
Expand Down
1 change: 0 additions & 1 deletion app/org_eleicoes/votepeloclima/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@

THUMBNAIL_ALIASES = {
'': {
"card-photo": {"size": (1080, 1350), "crop": True},
"profile-photo": {"size": (1080, 1350), "crop": True},
},
}

0 comments on commit 2522c0c

Please sign in to comment.