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
b41407a9
Commit
b41407a9
authored
Apr 19, 2024
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable this feature for supercafoutch using parameter
parent
3f1b6284
Pipeline
#3392
failed with stage
in 1 minute 6 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
1 deletions
+10
-1
config_supercafoutch.py
coops_configurations/config_supercafoutch.py
+3
-0
views.py
members/views.py
+2
-1
views.py
members_space/views.py
+1
-0
index.html
templates/members/index.html
+2
-0
index.html
templates/members_space/index.html
+2
-0
No files found.
coops_configurations/config_supercafoutch.py
View file @
b41407a9
...
...
@@ -162,3 +162,5 @@ AUTOCONSO_PICKING_TYPE_ID = 7
SUBSCRIPTION_ASK_FOR_SEX
=
True
SUBSCRIPTION_ASK_FOR_JOB
=
True
ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT
=
False
\ No newline at end of file
members/views.py
View file @
b41407a9
...
...
@@ -30,7 +30,8 @@ def index(request):
'Je valide mon service "Comité"'
),
'CONFIRME_PRESENT_BTN'
:
getattr
(
settings
,
'CONFIRME_PRESENT_BTN'
,
'Présent.e'
),
'LATE_MODE'
:
getattr
(
settings
,
'ENTRANCE_WITH_LATE_MODE'
,
False
),
'ENTRANCE_VALIDATE_PRESENCE_MESSAGE'
:
getattr
(
settings
,
'ENTRANCE_VALIDATE_PRESENCE_MESSAGE'
,
''
)
'ENTRANCE_VALIDATE_PRESENCE_MESSAGE'
:
getattr
(
settings
,
'ENTRANCE_VALIDATE_PRESENCE_MESSAGE'
,
''
),
'ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT'
:
getattr
(
settings
,
'ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT'
,
True
)
}
for_shoping_msg
=
getattr
(
settings
,
'ENTRANCE_COME_FOR_SHOPING_MSG'
,
''
)
...
...
members_space/views.py
View file @
b41407a9
...
...
@@ -32,6 +32,7 @@ def index(request, exception=None):
'block_actions_for_attached_people'
:
getattr
(
settings
,
'BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE'
,
True
),
'permanent_message'
:
getattr
(
settings
,
'PERMANENT_MESSAGE_BELOW_CONNECTION_FIELDS'
,
None
),
'block_service_exchange_24h_before'
:
getattr
(
settings
,
'BLOCK_SERVICE_EXCHANGE_24H_BEFORE'
,
True
),
'ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT'
:
getattr
(
settings
,
'ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT'
,
True
)
}
template
=
loader
.
get_template
(
'members_space/index.html'
)
...
...
templates/members/index.html
View file @
b41407a9
...
...
@@ -194,7 +194,9 @@
<div
class=
"col-1"
></div>
<a
id=
"associated_btn"
class=
" btn present"
>
Membre
</a>
<a
id=
"partner_btn"
class=
" btn present"
>
Associé
</a>
{% if ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT %}
<a
id=
"both_btn"
class=
" btn present"
>
Les deux
</a>
{% endif %}
<div
class=
"col-1 loading2-container"
>
<span
class=
"loading2"
><img
width=
"75"
src=
"/static/img/Pedro_luis_romani_ruiz.gif"
alt=
"Chargement en cours...."
/></span>
</div>
...
...
templates/members_space/index.html
View file @
b41407a9
...
...
@@ -63,9 +63,11 @@
</div>
<div
id=
"shift_associate"
class=
" btn--primary assign_shift_button"
>
</div>
{% if ALLOW_BOTH_AS_ANSWER_TO_WHO_IS_COMING_TO_SHIFT %}
<div
id=
"shift_both"
class=
" btn--primary assign_shift_button"
>
Les deux
</div>
{% endif %}
</div>
</div>
...
...
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