From 66303d1406b74dfa5c0d39e7d88f13f4a257ead4 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 26 Dec 2022 10:47:24 +0100 Subject: [PATCH] Add accessibility on gallery_sample --- photologue/templates/photologue/includes/gallery_sample.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photologue/templates/photologue/includes/gallery_sample.html b/photologue/templates/photologue/includes/gallery_sample.html index 883bb2a..e37308b 100644 --- a/photologue/templates/photologue/includes/gallery_sample.html +++ b/photologue/templates/photologue/includes/gallery_sample.html @@ -13,6 +13,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
{{ gallery.title }}
{% if gallery.date_start %}

{{ gallery.date_start }}{% if gallery.date_end and gallery.date_end != gallery.date_start %} - {{ gallery.date_end }}{% endif %}

{% endif %} {% if request.user.is_staff and gallery.photo_private_count %}

{{ gallery.photo_private_count }} photos censurées

{% endif %} - +