diff --git a/BUGs b/BUGs index a7acfaf..7de9373 100644 --- a/BUGs +++ b/BUGs @@ -1,3 +1,2 @@ -### Next: 59 +### Next: 60 BUG-56: when making a viewing list of AI:mich, (any search?) and going past the page_size, it gets the wrong data from the DB for the 'next' entry -BUG-59: I think movie thumbnails are no longer showing bin/imp/sto icon diff --git a/TODO b/TODO index 05c9594..df734c8 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,9 @@ ## GENERAL - * rmdups/other jobs? are not setting in progress when they should * get build process to create a random string for secret for PROD, otherwise use builtin for dev - * when we have lots of dups, sort the directories by alpha so its consistent when choosing - * auto-detect has 0 choices to keep 0 files -- not sure what that was about really + Dup issues: + * when we have lots of dups, sort the directories by alpha so its consistent when choosing + * auto-detect has 0 choices to keep 0 files -- not sure what that was about really * comment your code * html files? diff --git a/templates/files.html b/templates/files.html index 70b7d7d..45205fe 100644 --- a/templates/files.html +++ b/templates/files.html @@ -167,7 +167,7 @@ {% set last.printed = obj.file_details.month %} {% endif %} {% endif %} - {% if obj.type.name != "Directory" %} + {% if obj.type.name == "Image" or obj.type.name == "Video" %} {% if (not OPT.folders) or ((obj.in_dir.in_path.path_prefix+'/'+obj.in_dir.rel_path+'/'+obj.name) | TopLevelFolderOf(OPT.cwd)) %}
{% if obj.type.name=="Image" %} @@ -190,14 +190,14 @@ {% if search_term is defined %}
- +
{% endif %} {% endif %}
{% endif %} - {% else %} + {% elif obj.type.name == "Directory" %} {% if OPT.folders %} {% if obj.dir_details.rel_path | length %} {% set dirname=obj.dir_details.in_path.path_prefix+'/'+obj.dir_details.rel_path %}