gdf
This commit is contained in:
parent
589d028b20
commit
19f8c863ac
5 changed files with 8 additions and 8 deletions
|
@ -39,7 +39,7 @@ def marsey_list():
|
|||
@auth_desired
|
||||
def terms(v):
|
||||
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
if v and request.path.startswith('/logged_out'): return redirect(SITE_FULL + request.full_path.replace('/logged_out',''))
|
||||
|
||||
return render_template("terms.html", v=v)
|
||||
|
||||
|
@ -48,7 +48,7 @@ def terms(v):
|
|||
@auth_desired
|
||||
def sidebar(v):
|
||||
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
if v and request.path.startswith('/logged_out'): return redirect(SITE_FULL + request.full_path.replace('/logged_out',''))
|
||||
|
||||
return render_template('sidebar.html', v=v)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue