diff --git a/app/templates/displayFilesMacro.html b/app/templates/displayFilesMacro.html index e8af00dd0..8701683f0 100644 --- a/app/templates/displayFilesMacro.html +++ b/app/templates/displayFilesMacro.html @@ -1,6 +1,6 @@ {% macro displayFiles(filePaths, titleName, deleteLink, databaseId) %} - + +
+ + + + + {% for key, value in filePaths.items() %} + + + + + + {% endfor %}
Display{{ titleName }}
+
+
+
+ +
+
+
+
+ {% set idx = key.index("/") %} + {% set fileName = key[idx+1:] %} + {% set shortName = fileName[:8] + "..." + fileName[-10:] if fileName|length > 25 else fileName %} + {{ shortName }} + + +
+ + + + + + + {% endmacro %} \ No newline at end of file