Rendre les miniatures animales cliquables
This commit is contained in:
parent
64ce1285aa
commit
e3d8bf45fa
1 changed files with 4 additions and 3 deletions
|
|
@ -604,11 +604,12 @@ $mosaicQs['view'] = 'mosaic';
|
|||
<tr
|
||||
class="<?= (!empty($a['_litter_branch']) || !empty($a['_bonded_branch'])) ? 'litter-kitten-row ' : '' ?><?= !empty($a['_litter_branch']) ? 'litter-member-row ' : '' ?><?= !empty($a['_bonded_branch']) ? 'bonded-member-row' : '' ?>">
|
||||
<td>
|
||||
<span class="animal-photo-trigger" tabindex="0" data-zoom-src="<?= h($src) ?>"
|
||||
aria-label="<?= h(t('animals.enlarge_photo', ['name' => $a['name']])) ?>">
|
||||
<a class="animal-photo-trigger" href="/animal?id=<?= (int) $a['id'] ?>"
|
||||
data-zoom-src="<?= h($src) ?>"
|
||||
aria-label="<?= h(t('animals.open_record', ['name' => $a['name']])) ?>">
|
||||
<img src="<?= htmlspecialchars($src, ENT_QUOTES) ?>"
|
||||
style="width:44px;height:44px;object-fit:cover;border-radius:10px" alt="">
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<!--<td class="text-muted"><php echo //htmlspecialchars($a['internal_code'], ENT_QUOTES) ?></td>-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue