removed the details link on show-lite

This commit is contained in:
bill bittner 2017-07-17 13:59:21 -07:00
parent 13471edda4
commit a32df3c77a
3 changed files with 8 additions and 5 deletions

View file

@ -59,6 +59,10 @@ button.copy-button {
float: right; float: right;
} }
.share-option {
margin-bottom: 1em;
}
.metadata-table { .metadata-table {
font-size: small; font-size: small;
border-collapse: collapse; border-collapse: collapse;

View file

@ -3,6 +3,7 @@
{{#each trendingAssets}} {{#each trendingAssets}}
{{#if this.nsfw}} {{#if this.nsfw}}
{{else }} {{else }}
<a href="/show/{{this.name}}/{{this.claimId}}">
{{#ifConditional this.fileType '===' 'video/mp4'}} {{#ifConditional this.fileType '===' 'video/mp4'}}
<video class="asset-small" controls> <video class="asset-small" controls>
<source src="/api/streamFile/{{this.fileName}}"> <source src="/api/streamFile/{{this.fileName}}">
@ -10,10 +11,9 @@
Your browser does not support the <code>video</code> element. Your browser does not support the <code>video</code> element.
</video> </video>
{{else}} {{else}}
<a href="/show/{{this.name}}/{{this.claimId}}">
<img class="asset-small" src="/api/streamFile/{{this.fileName}}" /> <img class="asset-small" src="/api/streamFile/{{this.fileName}}" />
</a>
{{/ifConditional}} {{/ifConditional}}
</a>
{{/if}} {{/if}}
{{/each}} {{/each}}
</div> </div>

View file

@ -1,4 +1,5 @@
<div id="asset-placeholder"> <div id="asset-placeholder">
<a href="/show/{{fileInfo.name}}/{{fileInfo.claimId}}">
{{#ifConditional fileInfo.fileType '===' 'video/mp4'}} {{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
<video class="show-asset-lite" autoplay controls> <video class="show-asset-lite" autoplay controls>
<source src="/api/streamFile/{{fileInfo.fileName}}"> <source src="/api/streamFile/{{fileInfo.fileName}}">
@ -9,7 +10,5 @@
{{else}} {{else}}
<img class="show-asset-lite" src="/api/streamFile/{{fileInfo.fileName}}" alt="{{fileInfo.fileName}}"/> <img class="show-asset-lite" src="/api/streamFile/{{fileInfo.fileName}}" alt="{{fileInfo.fileName}}"/>
{{/ifConditional}} {{/ifConditional}}
<div> </a>
<a href="/show/{{fileInfo.name}}/{{fileInfo.claimId}}">Details</a>
</div>
</div> </div>