Skip to content

Commit

Permalink
[FEATURE] Added possibility to add target _blank to the file list item (
Browse files Browse the repository at this point in the history
  • Loading branch information
yar-trach authored and dmh committed Jul 15, 2016
1 parent 2e8cd5e commit 8bc40de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<f:if condition="{data.uploads_type} == 2">
<f:if condition="{f:uri.image(src: 'file:{f:if(condition: file.originalFile, then: \'file:{file.originalFile.uid}\', else: \'file:{file.uid}\')}')} != '/'">
<f:then>
<a href="{file.publicUrl}">
<a href="{file.publicUrl}" {f:if(condition:'{data.target}', then:'target={data.target}')}>
<f:media file="{file}" width="150" alt="{file.properties.alternative}" />
</a>
</f:then>
Expand Down

0 comments on commit 8bc40de

Please sign in to comment.