Mercurial > libervia-templates
changeset 126:14a4c6bb4443
file (overview): display a message when directory is empty
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 11:10:38 +0100 |
parents | 04609722add0 |
children | 27d6453a6209 |
files | default/file/overview.html |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/default/file/overview.html Wed Mar 21 19:07:52 2018 +0100 +++ b/default/file/overview.html Sat Mar 24 11:10:38 2018 +0100 @@ -34,4 +34,7 @@ {% endif %} {% endfor %} </ul> +{% if not files_data %} + <p class="message--info">{% trans %}No files are shared in this directory!{% endtrans %}</p> +{% endif%} {% endblock body %}