summaryrefslogtreecommitdiff
path: root/fbin/templates/images.html
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2018-08-06 17:05:33 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2018-08-06 17:09:04 +0200
commita27a916a1fcb9f62a9f075d1316346ff2e6424b2 (patch)
tree178704da15f77d8c038160cf18d6b2876744c23b /fbin/templates/images.html
parente1e82a8c93b667ac9dd35a6dd34cb30e26545798 (diff)
Add video list and video thumbnails
Add a separate video page for listing uploaded videos. The thumbnail endpoint now supports generating video thumbnails using ffmpegthumbnailer.
Diffstat (limited to 'fbin/templates/images.html')
-rw-r--r--fbin/templates/images.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fbin/templates/images.html b/fbin/templates/images.html
index c4bfd8f..e6c1ad0 100644
--- a/fbin/templates/images.html
+++ b/fbin/templates/images.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
-<p>You have {{ files|length() }} uploaded images totaling {{ total_size }}.</p>
{% if files %}
+<p>You have {{ files|length() }} uploaded {{ title|lower }} totaling {{ total_size }}.</p>
<div class="row">
{% for file in files %}
<div class="image-thumbnail">
@@ -13,7 +13,7 @@
{% endfor %}
</div>
{% else %}
-<div><em>(No image uploads yet.)</em></div>
+<div><em>(No {{ title|lower }} uploaded yet.)</em></div>
{% endif %}
{% endblock %}
{% block scripts %}