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
313b1dd9
Commit
313b1dd9
authored
Apr 19, 2022
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BDM: create attached: fix display error when member is unsuscribed
parent
a9a912d2
Pipeline
#2138
passed with stage
in 1 minute 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
manage_attached.js
members/static/js/admin/manage_attached.js
+4
-2
No files found.
members/static/js/admin/manage_attached.js
View file @
313b1dd9
...
@@ -62,11 +62,13 @@ function display_member_infos(divId, memberData) {
...
@@ -62,11 +62,13 @@ function display_member_infos(divId, memberData) {
.
text
(
memberData
.
email
);
.
text
(
memberData
.
email
);
$
(
"#"
+
divId
).
find
(
".member_status"
)
$
(
"#"
+
divId
).
find
(
".member_status"
)
.
text
(
possible_cooperative_state
[
memberData
.
cooperative_state
]);
.
text
(
possible_cooperative_state
[
memberData
.
cooperative_state
]);
$
(
"#"
+
divId
).
find
(
".member_shift_name"
)
.
text
(
memberData
.
current_template_name
);
$
(
"#"
+
divId
).
find
(
".member_makeups_to_do"
)
$
(
"#"
+
divId
).
find
(
".member_makeups_to_do"
)
.
text
(
memberData
.
makeups_to_do
);
.
text
(
memberData
.
makeups_to_do
);
let
member_shift_name
=
memberData
.
current_template_name
===
false
?
'X'
:
memberData
.
current_template_name
;
$
(
"#"
+
divId
).
find
(
".member_shift_name"
)
.
text
(
member_shift_name
);
if
(
memberData
.
is_associated_people
===
false
)
{
if
(
memberData
.
is_associated_people
===
false
)
{
$
(
"#"
+
divId
).
find
(
".member_associated_partner_area"
)
$
(
"#"
+
divId
).
find
(
".member_associated_partner_area"
)
.
hide
();
.
hide
();
...
...
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