made image on 'show' page a link through to full image
This commit is contained in:
parent
5ea7d959b9
commit
ca125efbd6
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
Loading…
Reference in a new issue