Skip to content

Commit

Permalink
fixed backend template
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisxrow committed Aug 11, 2017
1 parent b479acc commit 978e92b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,6 +1,6 @@
{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{if $attribute.object_version.data_map.file.content.mime_type|eq('application/pdf')}
<p>PDF preview:<br /><img src={$attribute.object_version.data_map.file.content.filepath|pdfpreview( 99, 99, $attribute.id, $attribute.version, $attribute.object_version.data_map.preview_page_number.content)|ezroot()} alt="PDF preview image" /></p>
<p>PDF preview:<br /><img src={$attribute.object.id|pdfpreview( 99, 99)} alt="PDF preview image" /></p>
{/if}
<p>
<input class="button" name="StoreButton" value="Preview PDF now" type="submit">
Expand Down

0 comments on commit 978e92b

Please sign in to comment.