Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
whats-open
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
whats-open
Commits
15dd2043
Commit
15dd2043
authored
Mar 07, 2018
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplifed template names
parent
9a99479b
Pipeline
#2175
canceled with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
whats-open/api/admin.py
whats-open/api/admin.py
+2
-2
whats-open/api/templates/bulk_schedules.html
whats-open/api/templates/bulk_schedules.html
+0
-0
whats-open/api/templates/bulk_special_schedules.html
whats-open/api/templates/bulk_special_schedules.html
+0
-0
No files found.
whats-open/api/admin.py
View file @
15dd2043
...
@@ -52,7 +52,7 @@ class FacilityAdmin(admin.ModelAdmin):
...
@@ -52,7 +52,7 @@ class FacilityAdmin(admin.ModelAdmin):
level
=
messages
.
ERROR
)
level
=
messages
.
ERROR
)
return
HttpResponseRedirect
(
request
.
get_full_path
())
return
HttpResponseRedirect
(
request
.
get_full_path
())
return
render
(
request
,
return
render
(
request
,
'bulk_schedules
_intermediate
.html'
,
'bulk_schedules.html'
,
context
=
{
'facilities'
:
queryset
,
context
=
{
'facilities'
:
queryset
,
'schedules'
:
Schedule
.
objects
.
all
()})
'schedules'
:
Schedule
.
objects
.
all
()})
assign_bulk_schedules
.
short_description
=
'Set a main schedule for multiple facilities'
assign_bulk_schedules
.
short_description
=
'Set a main schedule for multiple facilities'
...
@@ -74,7 +74,7 @@ class FacilityAdmin(admin.ModelAdmin):
...
@@ -74,7 +74,7 @@ class FacilityAdmin(admin.ModelAdmin):
level
=
messages
.
ERROR
)
level
=
messages
.
ERROR
)
return
HttpResponseRedirect
(
request
.
get_full_path
())
return
HttpResponseRedirect
(
request
.
get_full_path
())
return
render
(
request
,
return
render
(
request
,
'bulk_special_schedules
_intermediate
.html'
,
'bulk_special_schedules.html'
,
context
=
{
'facilities'
:
queryset
,
context
=
{
'facilities'
:
queryset
,
'schedules'
:
Schedule
.
objects
.
all
()})
'schedules'
:
Schedule
.
objects
.
all
()})
assign_bulk_special_schedules
.
short_description
=
'Add a special schedule to multiple facilities'
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