Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
326966af
Commit
326966af
authored
Apr 12, 2022
by
Thibault Grandjean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add parent info
parent
e20eac36
Pipeline
#2098
passed with stage
in 1 minute 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
inscriptions.js
members/static/js/inscriptions.js
+8
-0
inscriptions.html
templates/members/inscriptions.html
+1
-0
No files found.
members/static/js/inscriptions.js
View file @
326966af
...
...
@@ -92,6 +92,14 @@ function new_coop_validation() {
coop_registration_details
.
find
(
'.shift_template'
).
text
(
st
);
process_state
.
html
(
current_coop
.
firstname
+
' '
+
current_coop
.
lastname
);
coop_registration_details
.
find
(
"#parentName"
).
text
(
""
)
coop_registration_details
.
find
(
"#parent"
).
attr
(
"hidden"
,
true
)
if
(
current_coop
.
parent_name
!==
undefined
)
{
coop_registration_details
.
find
(
"#parentName"
).
text
(
current_coop
.
parent_name
)
coop_registration_details
.
find
(
"#parent"
).
removeAttr
(
"hidden"
)
}
if
(
current_coop
.
shift_template
.
data
&&
current_coop
.
shift_template
.
data
.
id
!=
ASSOCIATE_MEMBER_SHIFT
)
{
get_next_shift
(
current_coop
.
shift_template
.
data
.
id
,
function
(
data
)
{
if
(
data
!=
null
)
{
...
...
templates/members/inscriptions.html
View file @
326966af
...
...
@@ -131,6 +131,7 @@
<div class="numbox badge"></div>
<p>Pensez à inscrire ce numéro temporaire de coopérateur au crayon de papier sur les deux formulaires papier.</p>
-->
<p
id=
"parent"
hidden
>
En binôme avec :
<span
id=
"parentName"
></span></p>
<p>
Créneau choisi :
<span
class=
"shift_template"
></span></p>
<p
id=
"next_shift_registration_detail"
>
Prochain service :
<span
class=
"next_shift"
></span></p>
<button
class=
"btn--primary"
id=
"next_coop"
>
Coopérateur.rice suivant.e !
</button>
...
...
Write
Preview
Markdown
is supported
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