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
b15de605
Commit
b15de605
authored
Mar 06, 2018
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added the word 'the' to confirmation message for bulk main schedule modification
parent
e7fb748a
Pipeline
#2167
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
whats-open/api/admin.py
whats-open/api/admin.py
+1
-1
No files found.
whats-open/api/admin.py
View file @
b15de605
...
...
@@ -40,7 +40,7 @@ class FacilityAdmin(admin.ModelAdmin):
for
facility
in
queryset
:
facility
.
main_schedule
=
new_schedule
facility
.
save
()
self
.
message_user
(
request
,
"Set %s as main schedule for %d facilities."
%
(
name
,
num
))
self
.
message_user
(
request
,
"Set %s as
the
main schedule for %d facilities."
%
(
name
,
num
))
except
ObjectDoesNotExist
:
self
.
message_user
(
request
,
"Unable to set schedule for %d facilities."
%
num
)
return
HttpResponseRedirect
(
request
.
get_full_path
())
...
...
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