mirror of
https://github.com/neocities/neocities.git
synced 2025-07-22 02:26:07 +02:00
better update screenshot, fix username ref on news comment
This commit is contained in:
parent
fbdce831de
commit
5403d61ac2
4 changed files with 22 additions and 12 deletions
|
@ -89,7 +89,7 @@
|
|||
<% comment_actioning_site = comment.actioning_site_dataset.select(:id, :title, :domain, :username).first %>
|
||||
<div class="comment" id="comment_<%= comment.id %>">
|
||||
<img class="avatar" src="<%= comment_actioning_site.screenshot_url('index.html', '82x62') %>">
|
||||
<a href="/site/<%= comment_actioning_site.username %>" class="user"><%= comment_actioning_site.title %></a>
|
||||
<a href="/site/<%= comment_actioning_site.username %>" class="user" title="<%= comment_actioning_site.title %>"><%= comment_actioning_site.username %></a>
|
||||
<span class="date">
|
||||
<a href="?event_id=<%= event.id %>"><%= comment.created_at.ago %></a>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue