made image on 'show' page a link through to full image

This commit is contained in:
bill bittner 2017-07-27 21:56:35 -07:00
parent 5ea7d959b9
commit ca125efbd6

View file

@ -1,5 +1,6 @@
<div class="panel">
<div id="asset-placeholder">
<a href="/{{fileInfo.name}}/{{fileInfo.claimId}}{{fileInfo.fileExt}}">
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
<video class="show-asset" autoplay loop controls>
<source src="/media/{{fileInfo.fileName}}">
@ -9,5 +10,6 @@
{{else}}
<img class="show-asset" src="/media/{{fileInfo.fileName}}" />
{{/ifConditional}}
</a>
</div>
</div>