Skip to content

Commit

Permalink
Merge pull request #419 from gabi-gandine/acesso-entidade-avatar
Browse files Browse the repository at this point in the history
Possibilidade de acessar entidade ao clicar no avatar.
  • Loading branch information
lpirola authored Aug 28, 2024
2 parents e10c3ac + 217697b commit 6d16e9a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/modules/Components/components/entity-card/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
<div class="entity-card" :class="classes">
<div class="entity-card__header" :class="{'with-labels': useLabels, 'without-labels': !useLabels}">
<div class="entity-card__header user-details">
<slot name="avatar">
<mc-avatar :entity="entity" size="small"></mc-avatar>
</slot>
<a :href="entity.singleUrl">
<slot name="avatar">
<mc-avatar :entity="entity" size="small"></mc-avatar>
</slot>
</a>
<div class="user-info" :class="{'with-labels': useLabels, 'without-labels': !useLabels}">
<a :href="entity.singleUrl">
<slot name="title">
Expand Down

0 comments on commit 6d16e9a

Please sign in to comment.