Slight linting.

This commit is contained in:
voussoir 2022-08-14 13:50:32 -07:00
parent 306655ec8b
commit bdf2ba6334
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -178,9 +178,8 @@
File info
</h4>
<ul id="metadata">
{% set author = photo.author %}
{% if author is not none %}
<li>Author: <a href="/userid/{{author.id}}">{{author.display_name}}</a></li>
{% if photo.author is not none %}
<li>Author: <a href="/userid/{{photo.author.id}}">{{photo.author.display_name}}</a></li>
{% endif %}
{% if photo.width and photo.height %}
<li title="{{(photo.area / 1000000)|round(2)}} mpx">Dimensions: {{photo.width}}&times;{{photo.height}} px</li>
@ -189,7 +188,7 @@
<li>Size: {{photo.bytes|bytestring}}</li>
{% if photo.duration %}
<li>Duration: {{photo.duration_string}}</li>
<li>Overall Bitrate: {{photo.bitrate|int}} kbps</li>
<li>Overall bitrate: {{photo.bitrate|int}} kbps</li>
{% endif %}
<li>Created {{photo.created|timestamp_to_naturaldate}}</li>
<li><button id="refresh_metadata_button" class="green_button button_with_spinner" onclick="return refresh_metadata_form();">Refresh metadata</button></li>