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
8ada00eb
Commit
8ada00eb
authored
Nov 23, 2021
by
Etienne Freiss
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'evolution_bdm' into ticket_1350
parents
cd0ebe88
1de6869e
Pipeline
#1519
passed with stage
in 1 minute 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
members-space-home.js
members_space/static/js/members-space-home.js
+6
-2
views.py
shifts/views.py
+1
-1
home.html
templates/members_space/home.html
+0
-1
No files found.
members_space/static/js/members-space-home.js
View file @
8ada00eb
...
@@ -95,8 +95,12 @@ function init_home() {
...
@@ -95,8 +95,12 @@ function init_home() {
e
.
preventDefault
();
e
.
preventDefault
();
goto
(
'mes-infos'
);
goto
(
'mes-infos'
);
});
});
$
(
"#go_to_forms"
).
prop
(
"href"
,
forms_link
);
// $("#go_to_forms").prop("href", "forms_link");
$
(
"#go_to_forms"
).
on
(
'click'
,
(
e
)
=>
{
e
.
preventDefault
();
goto
(
'faq'
);
});
if
(
partner_data
.
is_in_association
===
false
)
{
if
(
partner_data
.
is_in_association
===
false
)
{
$
(
"#home .member_associated_partner_area"
).
hide
();
$
(
"#home .member_associated_partner_area"
).
hide
();
}
else
{
}
else
{
...
...
shifts/views.py
View file @
8ada00eb
...
@@ -194,7 +194,7 @@ def change_shift(request):
...
@@ -194,7 +194,7 @@ def change_shift(request):
"idPartner"
:
int
(
request
.
POST
[
'idPartner'
]),
"idPartner"
:
int
(
request
.
POST
[
'idPartner'
]),
"idShift"
:
int
(
request
.
POST
[
'idNewShift'
]),
"idShift"
:
int
(
request
.
POST
[
'idNewShift'
]),
"shift_type"
:
request
.
POST
[
'shift_type'
],
"shift_type"
:
request
.
POST
[
'shift_type'
],
"is_makeup"
:
cs
.
shift_is_makeup
(
idOldShift
)
"is_makeup"
:
cs
.
shift_is_makeup
(
listRegister
)
}
}
should_block_service_exchange
=
getattr
(
settings
,
'BLOCK_SERVICE_EXCHANGE_24H_BEFORE'
,
False
)
should_block_service_exchange
=
getattr
(
settings
,
'BLOCK_SERVICE_EXCHANGE_24H_BEFORE'
,
False
)
...
...
templates/members_space/home.html
View file @
8ada00eb
...
@@ -83,7 +83,6 @@
...
@@ -83,7 +83,6 @@
<div
class=
"home_link_button_area"
>
<div
class=
"home_link_button_area"
>
<a
<a
href=
"javascript:void(0);"
href=
"javascript:void(0);"
target=
"_blank"
class=
"btn--primary home_link_button"
class=
"btn--primary home_link_button"
id=
"go_to_forms"
id=
"go_to_forms"
>
>
...
...
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