Fixes article icons for 'twitter status', 'twitter direct-message', 'facebook feed post', 'facebook feed comment', 'telegram personal-message'.

This commit is contained in:
Denny Bresch 2019-07-12 12:55:53 +02:00 committed by Thorsten Eckel
parent 51865bf78e
commit b60dc34b1f

View file

@ -62,7 +62,8 @@
<div class="horizontal article-meta-row">
<div class="article-meta-key"><%- @T('Channel') %></div>
<div class="article-meta-value">
<%- @Icon(@article.type.name, 'article-meta-icon') %>
<% icon = @article.type.name.split(" ")%>
<%- @Icon(icon[0], 'article-meta-icon') %>
<%- @T(@article.type.name) %>
<div class="article-meta-links">
<% if @links: %>