mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Fixed screenshots in following section in sidebar
This commit is contained in:
parent
a1ba1a0974
commit
bb5bb45687
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
<p>You are not following any sites yet. Add some by <a href="/browse">browsing sites</a> or looking at your tags.
|
<p>You are not following any sites yet. Add some by <a href="/browse">browsing sites</a> or looking at your tags.
|
||||||
<% else %>
|
<% else %>
|
||||||
<% site.followings_dataset.select(:site_id).all.each do |following| %>
|
<% site.followings_dataset.select(:site_id).all.each do |following| %>
|
||||||
<a href="/site/<%= following.site_dataset.select(:username).first.username %>"><img src="<%= site.screenshot_path 'index.html', '50x50' %>" class="avatar"></a>
|
<a href="/site/<%= following.site_dataset.select(:username).first.username %>"><img src="<%= following.site.screenshot_url 'index.html', '50x50' %>" class="avatar"></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>
|
<% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>
|
||||||
<% follow_actioning_site = follow.actioning_site_dataset.select(:username).first %>
|
<% follow_actioning_site = follow.actioning_site_dataset.select(:username).first %>
|
||||||
<a href="/site/<%= follow_actioning_site.username %>"><img src="<%= follow_actioning_site.screenshot_path 'index.html', '50x50' %>" class="avatar"></a>
|
<a href="/site/<%= follow_actioning_site.username %>"><img src="<%= follow_actioning_site.screenshot_url 'index.html', '50x50' %>" class="avatar"></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue