Add accessibility on gallery_sample
This commit is contained in:
parent
b3bc9651e4
commit
66303d1406
1 changed files with 1 additions and 1 deletions
|
|
@ -13,6 +13,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<h5 class="card-title">{{ gallery.title }}</h5>
|
||||
{% if gallery.date_start %}<p class="card-text text-muted small mb-0">{{ gallery.date_start }}{% if gallery.date_end and gallery.date_end != gallery.date_start %} - {{ gallery.date_end }}{% endif %}</p>{% endif %}
|
||||
{% if request.user.is_staff and gallery.photo_private_count %}<p class="card-text text-danger small mb-0">{{ gallery.photo_private_count }} photos censurées</p>{% endif %}
|
||||
<a href="{{ gallery.get_absolute_url }}" class="stretched-link"></a>
|
||||
<a href="{{ gallery.get_absolute_url }}" class="stretched-link" aria-label="{{ gallery.title }}"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue