Removed download link for YouTube posts
This commit is contained in:
parent
6473ed74d3
commit
2a215ef51b
1 changed files with 9 additions and 7 deletions
|
@ -27,13 +27,15 @@
|
|||
<div id="post-view-wrapper">
|
||||
<div id="sidebar">
|
||||
<ul class="essential">
|
||||
<li>
|
||||
<a class="download" href="<%= permaLink %>">
|
||||
<i class="fa fa-download"></i>
|
||||
<br/>
|
||||
<%= post.contentExtension + ', ' + formatFileSize(post.originalFileSize) %>
|
||||
</a>
|
||||
</li>
|
||||
<% if (post.contentType !== 'youtube') { %>
|
||||
<li>
|
||||
<a class="download" href="<%= permaLink %>">
|
||||
<i class="fa fa-download"></i>
|
||||
<br/>
|
||||
<%= post.contentExtension + ', ' + formatFileSize(post.originalFileSize) %>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
|
||||
<% if (isLoggedIn) { %>
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue