fix bug-59 - missing locn icon for videos, stupidly has a # in front of the filename!
This commit is contained in:
3
BUGs
3
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
|
||||
|
||||
6
TODO
6
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?
|
||||
|
||||
@@ -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)) %}
|
||||
<figure id="{{obj.id}}" ecnt="{{loop.index}}" class="col col-auto g-0 figure entry m-1" path_type="{{obj.in_dir.in_path.type.name}}" size="{{obj.file_details.size_mb}}" hash="{{obj.file_details.hash}}" in_dir="{{obj.in_dir.in_path.path_prefix}}/{{obj.in_dir.rel_path}}" fname="{{obj.name}}" yr="{{obj.file_details.year}}" date="{{obj.file_details.year}}{{"%02d" % obj.file_details.month}}{{"%02d" % obj.file_details.day}}" pretty_date="{{obj.file_details.day}}/{{obj.file_details.month}}/{{obj.file_details.year}}" type="{{obj.type.name}}">
|
||||
{% if obj.type.name=="Image" %}
|
||||
@@ -190,14 +190,14 @@
|
||||
</div>
|
||||
{% if search_term is defined %}
|
||||
<div style="position:absolute; bottom: 0px; left: 2px;">
|
||||
<svg width="16" height="16" fill="white"><use xlink:href="#{{url_for('internal', filename='icons.svg')}}#{{LocationIcon(obj)}}"/></svg>
|
||||
<svg width="16" height="16" fill="white"><use xlink:href="{{url_for('internal', filename='icons.svg')}}#{{LocationIcon(obj)}}"/></svg>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</figure>
|
||||
{% 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 %}
|
||||
|
||||
Reference in New Issue
Block a user