mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 17:52:39 +02:00
don't show receiver if it's the same
This commit is contained in:
parent
c42196e16d
commit
1ca6c9238a
1 changed files with 4 additions and 6 deletions
|
@ -10,13 +10,11 @@
|
|||
<a href="/site/<%= actioning_site.username %>" class="user"><i class="fa fa-user"><% if actioning_site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= actioning_site.username %></a>
|
||||
<% end %>
|
||||
|
||||
<i class="fa fa-chevron-right comment-symbol" title="commented on"></i>
|
||||
<% if current_site && current_site.id != profile_comment.site_id %>
|
||||
<i class="fa fa-chevron-right comment-symbol" title="commented on"></i>
|
||||
<a href="/site/<%= profile_comment.site.username %>" class="user"><i class="fa fa-user"><% if profile_comment.site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= profile_comment.site.username %></a>
|
||||
<% end %>
|
||||
|
||||
<% if current_site && current_site.id == profile_comment.site_id %>
|
||||
<a href="/site/<%= current_site.username %>" class="you">You</a>
|
||||
<% else %>
|
||||
<a href="/site/<%= profile_comment.site.username %>" class="user"><i class="fa fa-user"><% if profile_comment.site.supporter? %><i class="fa fa-heart"></i><% end %></i><%= profile_comment.site.username %></a>
|
||||
<% end %>
|
||||
<span class="date">
|
||||
<a href="/site/<%= site.username %>?event_id=<%= profile_comment.event.id %>"><%= profile_comment.created_at.ago %></a>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Reference in a new issue