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
ad099012
Commit
ad099012
authored
Nov 24, 2021
by
Etienne Freiss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint
parent
d82c419f
Pipeline
#1547
failed with stage
in 1 minute 29 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
members-space-shifts-exchange.js
members_space/static/js/members-space-shifts-exchange.js
+8
-7
No files found.
members_space/static/js/members-space-shifts-exchange.js
View file @
ad099012
...
@@ -188,10 +188,12 @@ function init_calendar_page() {
...
@@ -188,10 +188,12 @@ function init_calendar_page() {
closeModal
,
closeModal
,
"J'ai compris"
"J'ai compris"
);
);
}).
show
();
})
.
show
();
}
else
{
}
else
{
$
(
"#calendar_explaination_button"
).
hide
();
$
(
"#calendar_explaination_button"
).
hide
();
$
(
"#calendar_explaination_area"
).
html
(
template_explanations
.
html
()).
show
();
$
(
"#calendar_explaination_area"
).
html
(
template_explanations
.
html
())
.
show
();
}
}
if
(
incoming_shifts
!==
null
)
{
if
(
incoming_shifts
!==
null
)
{
...
@@ -366,14 +368,13 @@ function init_shifts_exchange() {
...
@@ -366,14 +368,13 @@ function init_shifts_exchange() {
$
(
this
).
removeClass
(
'active'
);
$
(
this
).
removeClass
(
'active'
);
});
});
});
});
}
}
else
if
(
else
if
(
partner_data
.
comite
===
"True"
)
{
partner_data
.
comite
===
"True"
)
{
let
msg_template
=
$
(
"#comite_template"
);
let
msg_template
=
$
(
"#comite_template"
);
$
(
".comite_content_msg"
).
html
(
msg_template
.
html
());
$
(
".comite_content_msg"
).
html
(
msg_template
.
html
());
$
(
"#comite_content"
).
show
();
$
(
"#comite_content"
).
show
();
}
}
else
if
(
partner_data
.
cooperative_state
===
'suspended'
else
if
(
partner_data
.
cooperative_state
===
'suspended'
&&
partner_data
.
date_delay_stop
===
'False'
)
{
&&
partner_data
.
date_delay_stop
===
'False'
)
{
$
(
"#suspended_content .makeups_nb"
).
text
(
partner_data
.
makeups_to_do
);
$
(
"#suspended_content .makeups_nb"
).
text
(
partner_data
.
makeups_to_do
);
...
@@ -396,7 +397,7 @@ function init_shifts_exchange() {
...
@@ -396,7 +397,7 @@ function init_shifts_exchange() {
init_calendar_page
();
init_calendar_page
();
}
}
$
(
window
).
smartresize
(
function
(){
$
(
window
).
smartresize
(
function
()
{
vw
=
window
.
innerWidth
;
vw
=
window
.
innerWidth
;
init_calendar_page
();
init_calendar_page
();
});
});
...
...
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