mirror of
https://github.com/neocities/neocities.git
synced 2025-06-19 19:00:34 +02:00
fix for supporter heart in comments
This commit is contained in:
parent
b33f9f57ad
commit
08ae90d601
2 changed files with 3 additions and 3 deletions
2
app.rb
2
app.rb
|
@ -124,7 +124,7 @@ post '/settings/create_child' do
|
|||
|
||||
if site.valid?
|
||||
site.save
|
||||
flash[:success] = 'Your new site has been created!'
|
||||
flash[:success] = 'Your new site has been created! To manage it, click your username in the top right and go to "Switch Site".'
|
||||
redirect '/settings#sites'
|
||||
else
|
||||
flash[:error] = site.errors.first.last.first
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id).first %>
|
||||
<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id).first %>
|
||||
<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>
|
||||
<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>
|
||||
|
||||
<div class="title">
|
||||
<a href="/site/<%= actioning_site.username %>" class="icon" style="background-image:url(<%= actioning_site.screenshot_url('index.html', '100x100') %>);"></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue