Skip to content

Commit

Permalink
Merge pull request #715 from inventaire-des-orgues/disparu
Browse files Browse the repository at this point in the history
Dans la liste des orgues, les images des orgues disparus sont en gris
  • Loading branch information
GwilhermPoullennec authored Nov 11, 2023
2 parents 40f9fea + 5aed9b6 commit 85e8047
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion orgues/templates/orgues/orgue_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ <h5>Quelques conseils pour éditer la photo principale d'une fiche d'orgue</h5>
<div v-for="orgue in orgues" class="card shadow-sm vignette mb-lg-4 mb-sm-5 orgue-card" @click="select(orgue)">
<div class="row no-gutters">
<div class="col-lg-4 la_vignette" style="background: #868e96;">
<img class="card-img-top" :src="orgue.vignette" alt="Photo orgue" style="">
<span v-if="orgue.etat === 'Disparu'">
<img class="card-img-top" :src="orgue.vignette" alt="Photo orgue" style="filter: grayscale(1);">
</span>
<span v-else>
<img class="card-img-top" :src="orgue.vignette" alt="Photo orgue" style="">
</span>
</div>
<div class="col-lg-8">
<div class="card-body py-md-3">
Expand Down

0 comments on commit 85e8047

Please sign in to comment.