a85f64777f99d32a4417e5c00efa3ef7d0e08791 — Hristos N. Triantafillou 16 days ago dea6dad
Inform when no usable media files are found (#103)
1 files changed, 6 insertions(+), 2 deletions(-)

M mousikofidi/templates/directory_details.html
M mousikofidi/templates/directory_details.html => mousikofidi/templates/directory_details.html +6 -2
@@ 1,2 1,6 @@
-{% include "item_table.html" with context %}
-{% include "dir_table.html" with context %}
+{% if not audio_list and not dir_list and not video_list %}
+  <h2 class="bold center">No <a href="https://mousikofidi.info/user_guide/#valid-media-types"valid media files</a> were found here!</h2>
+{% else %}
+  {% include "item_table.html" with context %}
+  {% include "dir_table.html" with context %}
+{% endif %}