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 bab28fa5b1
2 changed files with 6 additions and 4 deletions

View File

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

View File

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