forked from MarseyWorld/MarseyWorld
tell ppl how much Truescore they need to see /h/chudrama
parent
0f3d3ce8a1
commit
b3c47f5598
|
@ -43,7 +43,7 @@ def front_all(v, sub=None, subdomain=None):
|
|||
#### WPD TEMP #### end special front logic
|
||||
if sub:
|
||||
sub = get_sub_by_name(sub, graceful=True)
|
||||
if sub and not User.can_see(v, sub): abort(403)
|
||||
if sub and not User.can_see(v, sub): abort(403, "You need 5000 truescore to be able to see /h/chudrama")
|
||||
|
||||
if (request.path.startswith('/h/') or request.path.startswith('/s/')) and not sub: abort(404)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<h5 class=" mt-1">{{code}} {{title}}</h5>
|
||||
<p class="text-muted error-description">{{msg|safe}}</p>
|
||||
{% if details -%}
|
||||
<blockquote class="error-details mb-5 py-2">{{details|safe}}</blockquote>
|
||||
<blockquote class="error-details mb-4 py-2">{{details|safe}}</blockquote>
|
||||
{%- endif %}
|
||||
<div><a href="/" class="btn btn-primary">Go to frontpage</a></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue