Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krish Moodbidri
self-reg-form
Commits
fbbb12c7
Commit
fbbb12c7
authored
May 19, 2022
by
Krish Moodbidri
Browse files
1. Renamed state blocked to hold
2. Renamed page blocked.html to hold.html
parent
074dbdb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/__init__.py
View file @
fbbb12c7
...
...
@@ -50,8 +50,8 @@ def create_app(config_name):
if
(
not
any
(
item
in
session
[
'user'
].
get
(
'eppa'
)
for
item
in
valid_eppa
)):
return
render_template
(
'account/unauthorized.html'
,
unauthorized_msg
=
messages
.
unauthorized_message
)
if
rc_util
.
check_state
(
session
[
'user'
].
get
(
'username'
))
==
"
blocke
d"
:
return
render_template
(
'account/
blocke
d.html'
,
unauthorized_msg
=
messages
.
unauthorized_message
)
if
rc_util
.
check_state
(
session
[
'user'
].
get
(
'username'
))
==
"
hol
d"
:
return
render_template
(
'account/
hol
d.html'
,
unauthorized_msg
=
messages
.
unauthorized_message
)
elif
rc_util
.
check_state
(
session
[
'user'
].
get
(
'username'
))
==
"certification"
:
return
render_template
(
'account/certify.html'
,
room_id
=
session
[
'uid'
],
...
...
app/templates/account/
blocke
d.html
→
app/templates/account/
hol
d.html
View file @
fbbb12c7
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment