diff --git a/photos.py b/photos.py index 4242d6e..6df2c51 100644 --- a/photos.py +++ b/photos.py @@ -125,7 +125,7 @@ def photos(): fname=file.replace(p, "") view_list.append( Photos( name=fname, type=ftype, size_MB=fsize, hash=fhash, thumbnail=fthumbnail )) - return render_template("photos.html", page_title='View Photos', view_path=view_path, file_list=view_list, alert=st.GetAlert(), message=st.GetMessage() ) + return render_template("photos.html", page_title='View Photos', view_path=view_path, file_list=view_list, symlink=symlink, alert=st.GetAlert(), message=st.GetMessage() ) @app.route("/static/") def custom_static(filename): diff --git a/templates/photos.html b/templates/photos.html index f2719f8..612ba9c 100644 --- a/templates/photos.html +++ b/templates/photos.html @@ -15,13 +15,10 @@ {% else %} {% endif %} -  {{obj.name}} {% if obj.type=="Image" %} - - + {% endif %} + {{obj.name}} {{obj.size_MB}}{{obj.hash}} {% endfor %}