Removed download link for YouTube posts

This commit is contained in:
Marcin Kurczewski 2014-11-19 19:42:39 +01:00
parent 6473ed74d3
commit 2a215ef51b

View file

@ -27,13 +27,15 @@
<div id="post-view-wrapper"> <div id="post-view-wrapper">
<div id="sidebar"> <div id="sidebar">
<ul class="essential"> <ul class="essential">
<li> <% if (post.contentType !== 'youtube') { %>
<a class="download" href="<%= permaLink %>"> <li>
<i class="fa fa-download"></i> <a class="download" href="<%= permaLink %>">
<br/> <i class="fa fa-download"></i>
<%= post.contentExtension + ', ' + formatFileSize(post.originalFileSize) %> <br/>
</a> <%= post.contentExtension + ', ' + formatFileSize(post.originalFileSize) %>
</li> </a>
</li>
<% } %>
<% if (isLoggedIn) { %> <% if (isLoggedIn) { %>
<li> <li>