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
17058eca
Commit
17058eca
authored
May 11, 2023
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajoute nouveau parametre à config_lacagette.py et wording correction tournure de phrase
parent
5848c742
Pipeline
#2729
passed with stage
in 1 minute 30 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
config_lacagette.py
coops_configurations/config_lacagette.py
+4
-0
models.py
shifts/models.py
+1
-1
No files found.
coops_configurations/config_lacagette.py
View file @
17058eca
...
@@ -146,3 +146,6 @@ AMNISTIE_DATE= "2021-11-24 00:00:00"
...
@@ -146,3 +146,6 @@ AMNISTIE_DATE= "2021-11-24 00:00:00"
# BDM Admin
# BDM Admin
BDM_SHOW_FTOP_BUTTON
=
True
BDM_SHOW_FTOP_BUTTON
=
True
# Entree
MINIMUM_SECONDS_BETWEEN_TWO_COMITEE_VALIDATION
=
0
\ No newline at end of file
shifts/models.py
View file @
17058eca
...
@@ -897,7 +897,7 @@ class CagetteServices(models.Model):
...
@@ -897,7 +897,7 @@ class CagetteServices(models.Model):
if
ok_for_adding_pt
is
True
:
if
ok_for_adding_pt
is
True
:
res
[
'evt_id'
]
=
CagetteMember
(
coop_id
)
.
add_pts
(
'ftop'
,
1
,
evt_name
)
res
[
'evt_id'
]
=
CagetteMember
(
coop_id
)
.
add_pts
(
'ftop'
,
1
,
evt_name
)
else
:
else
:
res
[
'error'
]
=
"Un point a déjà été ajouté
il y a
trop récemment."
res
[
'error'
]
=
"Un point a déjà été ajouté trop récemment."
else
:
else
:
res
[
'error'
]
=
"Vous n'avez pas le droit d'ajouter un point."
res
[
'error'
]
=
"Vous n'avez pas le droit d'ajouter un point."
else
:
else
:
...
...
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