Skip to content

Commit

Permalink
Fix syntax in jinja2 check
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jul 1, 2024
1 parent 442b1bf commit d3caeca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
{{- _('Metadata last updated') }}: {{ local_friendly_datetime(res.metadata_modified) }}

{{- _('Created') }}: {{ local_friendly_datetime(res.created) }}

{{- res.format or res.mimetype_inner or res.mimetype or _('unknown') -}} 
{%- if res.size && res.size|int != 0 -%}
{%- if res.size and res.size|int != 0 -%}
( {{ h.localize_filesize(res.size)}} )
{%- endif -%}
</div>
Expand Down

0 comments on commit d3caeca

Please sign in to comment.