Resolve channels #150

Merged
bones7242 merged 23 commits from resolve-channels into master 2017-08-25 18:35:40 +02:00
Showing only changes of commit 722bf055a0 - Show all commits

View file

@ -5,22 +5,19 @@
<p>Below are all the free claims in this channel.</p> <p>Below are all the free claims in this channel.</p>
{{#each channelContents}} {{#each channelContents}}
<div class="all-claims-item"> <div class="all-claims-item">
{{#ifConditional this.contentType '===' 'video/mp4'}} <a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">
<video class="all-claims-asset" controls> {{#ifConditional this.contentType '===' 'video/mp4'}}
<source src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}"> <img class="all-claims-asset" src="/assets/img/content-freedom-large.png"/>
{{!--fallback--}} {{else}}
Your browser does not support the <code>video</code> element. <img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" />
</video> {{/ifConditional}}
{{else}} </a>
<img class="all-claims-asset" src="/{{this.claimId}}/{{this.name}}.{{this.fileExtension}}" />
{{/ifConditional}}
<div class="all-claims-details"> <div class="all-claims-details">
<ul style="list-style-type:none"> <ul style="list-style-type:none">
<li>Title: {{this.title}}</li> <li><strong>{{this.title}}</strong></li>
<li>Description: {{this.description}}</li> <li><i> {{this.description}}</i></li>
<li><a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">spee.ch/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}</a></li>
<li>License: {{this.license}}</li> <li>License: {{this.license}}</li>
<li>Link: <a href="/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}">spee.ch/{{this.channelName}}:{{this.shortChannelId}}/{{this.name}}.{{this.fileExtension}}</a></li>
<li>Claim: {{this.name}}</li> <li>Claim: {{this.name}}</li>
<li>Claim Id: {{this.claimId}}</li> <li>Claim Id: {{this.claimId}}</li>
</ul> </ul>