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,6 +27,7 @@
<div id="post-view-wrapper"> <div id="post-view-wrapper">
<div id="sidebar"> <div id="sidebar">
<ul class="essential"> <ul class="essential">
<% if (post.contentType !== 'youtube') { %>
<li> <li>
<a class="download" href="<%= permaLink %>"> <a class="download" href="<%= permaLink %>">
<i class="fa fa-download"></i> <i class="fa fa-download"></i>
@ -34,6 +35,7 @@
<%= post.contentExtension + ', ' + formatFileSize(post.originalFileSize) %> <%= post.contentExtension + ', ' + formatFileSize(post.originalFileSize) %>
</a> </a>
</li> </li>
<% } %>
<% if (isLoggedIn) { %> <% if (isLoggedIn) { %>
<li> <li>