Slight linting.
This commit is contained in:
parent
306655ec8b
commit
bdf2ba6334
1 changed files with 3 additions and 4 deletions
|
@ -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}}×{{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>
|
||||
|
|
Loading…
Reference in a new issue