Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
15dd2043
Commit
15dd2043
authored
Mar 07, 2018
by
Daniel W Bond
Browse files
simplifed template names
parent
9a99479b
Pipeline
#2175
canceled with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
whats-open/api/admin.py
View file @
15dd2043
...
...
@@ -52,7 +52,7 @@ class FacilityAdmin(admin.ModelAdmin):
level
=
messages
.
ERROR
)
return
HttpResponseRedirect
(
request
.
get_full_path
())
return
render
(
request
,
'bulk_schedules
_intermediate
.html'
,
'bulk_schedules.html'
,
context
=
{
'facilities'
:
queryset
,
'schedules'
:
Schedule
.
objects
.
all
()})
assign_bulk_schedules
.
short_description
=
'Set a main schedule for multiple facilities'
...
...
@@ -74,7 +74,7 @@ class FacilityAdmin(admin.ModelAdmin):
level
=
messages
.
ERROR
)
return
HttpResponseRedirect
(
request
.
get_full_path
())
return
render
(
request
,
'bulk_special_schedules
_intermediate
.html'
,
'bulk_special_schedules.html'
,
context
=
{
'facilities'
:
queryset
,
'schedules'
:
Schedule
.
objects
.
all
()})
assign_bulk_special_schedules
.
short_description
=
'Add a special schedule to multiple facilities'
...
...
whats-open/api/templates/bulk_schedules
_intermediate
.html
→
whats-open/api/templates/bulk_schedules.html
View file @
15dd2043
File moved
whats-open/api/templates/bulk_special_schedules
_intermediate
.html
→
whats-open/api/templates/bulk_special_schedules.html
View file @
15dd2043
File moved
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