diff --git a/scan_to_paperless/status.html b/scan_to_paperless/status.html index 79085b33..9d18d6fd 100644 --- a/scan_to_paperless/status.html +++ b/scan_to_paperless/status.html @@ -66,8 +66,8 @@

Jobs status

{% set tr_attributes = ' class="alert alert-info"' if name == self._current_folder else "" %} {{ name }}{% - if folder.nb_images > 0: %}({{ folder.nb_images }} image{% - if folder.nb_images > 1: %}s){% endif %}{% + if folder.nb_images > 0: %} ({{ folder.nb_images }} image{% + if folder.nb_images > 1: %}s{% endif %}){% endif %} {{ folder.status }} {{ folder.details | safe }}