Merge branch 'remove-bulma-placeholders' into 'master'

Remove bulma placeholders

Closes #391

See merge request framasoft/mobilizon!601
This commit is contained in:
Thomas Citharel 2020-10-10 17:39:01 +02:00
commit b9792ece9e
2 changed files with 6 additions and 4 deletions

View file

@ -3,9 +3,10 @@
<div class="card-content"> <div class="card-content">
<div class="media"> <div class="media">
<div class="media-left"> <div class="media-left">
<figure class="image is-48x48"> <figure class="image is-48x48" v-if="group.avatar">
<img src="https://bulma.io/images/placeholders/96x96.png" alt="Placeholder image" /> <img class="is-rounded" :src="group.avatar.url" alt="" />
</figure> </figure>
<b-icon v-else size="is-large" icon="account-group" />
</div> </div>
<div class="media-content"> <div class="media-content">
<router-link <router-link

View file

@ -8,9 +8,10 @@
</div> </div>
<div class="media subfield"> <div class="media subfield">
<div class="media-left"> <div class="media-left">
<figure class="image is-48x48"> <figure class="image is-48x48" v-if="member.parent.avatar">
<img src="https://bulma.io/images/placeholders/96x96.png" alt="Placeholder image" /> <img class="is-rounded" :src="member.parent.avatar.url" alt="" />
</figure> </figure>
<b-icon v-else size="is-large" icon="account-group" />
</div> </div>
<div class="media-content"> <div class="media-content">
<div class="level"> <div class="level">