Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Paweljong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
AlekSIS-App-Paweljong
Commits
3dd32737
Verified
Commit
3dd32737
authored
3 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Add help texts for steps
parent
a752dcd9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Reformat and cleanup
Pipeline
#56061
failed
3 years ago
Stage: prepare
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/paweljong/views.py
+29
-14
29 additions, 14 deletions
aleksis/apps/paweljong/views.py
with
29 additions
and
14 deletions
aleksis/apps/paweljong/views.py
+
29
−
14
View file @
3dd32737
...
...
@@ -384,38 +384,53 @@ class RegisterEventWizardView(SessionWizardView):
if
self
.
steps
.
current
==
"
email
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Create e-mail address
"
)
context
[
"
info_text
"
]
=
_
(
"
All participants need a personal e-mail address, which they check and read
"
"
temselves. We offer the possibility to register an e-mail address
"
"
on our secure servers, made for young users.
"
)
elif
self
.
steps
.
current
==
"
register
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Event registration
"
)
context
[
"
info_text
"
]
=
_
(
"
First, please enter some basic information about yourself, and check
"
"
whether all information is correct.
"
)
elif
self
.
steps
.
current
==
"
contact_details
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Contact information
"
)
context
[
"
info_text
"
]
=
_
(
"
Tell us how we can contact you. You will receive information about
"
"
the event by e-mail. Please use your personal e-mail address
"
,
"
where you will read mails yourself, not an address of your parents.
"
"
We will always send all important information to your parents as well,
"
"
and you will enter their e-mail address on the next page.
"
)
elif
self
.
steps
.
current
==
"
guardians
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Legal guardians / parents
"
)
context
[
"
info_text
"
]
=
_
(
"
Tell us how we can reach your parents or other legal guardians.
"
"
This should be the person who was present when you registered for the
"
"
event (which is now). If you want to add another parent, please tell us
"
"
later as a comment.
"
)
elif
self
.
steps
.
current
==
"
additional
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Additional registration information
"
)
context
[
"
info_text
"
]
=
_
(
"
Please answer the following questions as precisely as you can, so
"
"
we can make sure your event attendance will be organised as wel las possible.
"
)
elif
self
.
steps
.
current
==
"
financial
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Payment
"
)
context
[
"
info_text
"
]
=
_
(
"
By default, we will send you an invoice, which you or your parents
"
"
can pay by bank transfer. You can also choose to pay by direct debit –
"
"
please make sure to enter exactly what your parents tell you.
"
)
elif
self
.
steps
.
current
==
"
consent
"
:
context
[
"
page_title
"
]
=
""
context
[
"
browser_title
"
]
=
""
context
[
"
info_title
"
]
=
"
foobar
"
context
[
"
info_text
"
]
=
"
barfoo
"
context
[
"
info_title
"
]
=
_
(
"
Consent
"
)
context
[
"
info_text
"
]
=
_
(
"
Lastly, please read the terms and conditions carefully, together
"
"
with your parents. After that, you will need to confirm that you
"
"
agree with everything yourself, and that your parents also agree.
"
)
return
context
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment