Remove social icons from comment liquid tag (#11186)

This commit is contained in:
Mac Siri 2020-11-02 09:57:08 -05:00 committed by GitHub
parent 20a19daa67
commit 7c954fa16e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,16 +7,6 @@
<a href="/<%= comment.user.username %>">
<span class="comment-username"><%= comment.user.name %></span>
</a>
<% if comment.user.twitter_username.present? %>
<a href="https://twitter.com/<%= comment.user.twitter_username %>">
<img src="/assets/twitter-logo.svg" class="icon-img" alt="twitter" />
</a>
<% end %>
<% if comment.user.github_username.present? %>
<a href="https://github.com/<%= comment.user.github_username %>">
<img src="/assets/github-logo.svg" class="icon-img" alt="github" />
</a>
<% end %>
<%= render "comments/comment_date", decorated_comment: comment.decorate %>
</div>
<div class="body">