mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
remove counter
This commit is contained in:
parent
47dde508d3
commit
54376428ef
2 changed files with 2 additions and 2 deletions
|
@ -700,7 +700,7 @@ class Site < Sequel::Model
|
|||
end
|
||||
|
||||
if new? && !parent? && account_sites_dataset.count >= CHILD_SITES_MAX
|
||||
errors.add :child_site_id, "Cannot add child site, exceeds #{CHILD_SITES_MAX} limit."
|
||||
errors.add :child_site_id, "For spam prevention reasons, we've capped site creation to #{CHILD_SITES_MAX} sites. Please contact Neocities support to raise your site limit."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<h3>Create New Site</h3>
|
||||
|
||||
<p>You can now create new sites that are linked to this account! Sites will share the free space you have available. You have <strong><%= Site::CHILD_SITES_MAX - current_site.account_sites_dataset.count %></strong> new sites remaining.</p>
|
||||
<p>You can now create new sites that are linked to this account! All of your sites will share the free space you have available.</p>
|
||||
|
||||
<form action="/settings/create_child" method="POST">
|
||||
<%== csrf_token_input_html %>
|
||||
|
|
Loading…
Add table
Reference in a new issue