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
224504d7
Commit
224504d7
authored
Jun 20, 2022
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BDM ADMIN] fix shifts calendar error
parent
edd0e0df
Pipeline
#2252
passed with stage
in 1 minute 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
admin.py
members/admin.py
+1
-0
manage_regular_shifts.html
templates/members/admin/manage_regular_shifts.html
+2
-1
No files found.
members/admin.py
View file @
224504d7
...
...
@@ -351,6 +351,7 @@ def manage_regular_shifts(request):
'open_on_sunday'
:
getattr
(
settings
,
'OPEN_ON_SUNDAY'
,
False
),
'show_ftop_button'
:
getattr
(
settings
,
'BDM_SHOW_FTOP_BUTTON'
,
True
),
'has_committe_shift'
:
committees_shift_id
is
not
None
,
'committees_shift_id'
:
committees_shift_id
,
'ASSOCIATE_MEMBER_SHIFT'
:
getattr
(
settings
,
'ASSOCIATE_MEMBER_SHIFT'
,
''
)
}
return
HttpResponse
(
template
.
render
(
context
,
request
))
...
...
templates/members/admin/manage_regular_shifts.html
View file @
224504d7
...
...
@@ -95,7 +95,8 @@
var
max_begin_hour
=
'{{max_begin_hour}}'
var
couchdb_dbname
=
'{{db}}'
;
var
couchdb_server
=
'{{couchdb_server}}'
+
couchdb_dbname
;
var
committees_shift_id
=
'{{ASSOCIATE_MEMBER_SHIFT}}'
;
var
committees_shift_id
=
'{{committees_shift_id}}'
;
var
ASSOCIATE_MEMBER_SHIFT
=
'{{ASSOCIATE_MEMBER_SHIFT}}'
;
</script>
<script
src=
'{% static "js/common.js" %}?v=1651853225'
></script>
<script
src=
'{% static "js/all_common.js" %}?v=1651853225'
></script>
...
...
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