mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
optimize and clarify post for site profile
This commit is contained in:
parent
6f33be1e4f
commit
ab6abc637e
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
||||||
|
<% actioning_site = profile_comment.actioning_site_dataset.select(:username, :title, :domain).first %>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<div class="icon" style="background-image:url(<%= profile_comment.actioning_site.screenshot_url('index.html', '82x62') %>);"></div>
|
<div class="icon" style="background-image:url(<%= actioning_site.screenshot_url('index.html', '82x62') %>);"></div>
|
||||||
<a href="/site/<%= profile_comment.actioning_site.username %>" class="user"><%= profile_comment.actioning_site.title %></a>
|
<a href="/site/<%= actioning_site.username %>" class="user"><%= actioning_site.title %></a>
|
||||||
|
<% if request.path == '/' %>
|
||||||
|
posted on your site profile:
|
||||||
|
<% end %>
|
||||||
<span class="date">
|
<span class="date">
|
||||||
<a href="?event_id=<%= profile_comment.event.id %>"><%= profile_comment.created_at.ago %></a>
|
<a href="?event_id=<%= profile_comment.event.id %>"><%= profile_comment.created_at.ago %></a>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Add table
Reference in a new issue