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
5a93ad94
Commit
5a93ad94
authored
Dec 13, 2021
by
Thibault Grandjean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update message
parent
38643bd9
Pipeline
#1638
passed with stage
in 1 minute 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
members-space-shifts-exchange.js
members_space/static/js/members-space-shifts-exchange.js
+5
-4
No files found.
members_space/static/js/members-space-shifts-exchange.js
View file @
5a93ad94
...
...
@@ -91,8 +91,10 @@ function add_or_change_shift(new_shift_id) {
selected_shift
=
null
;
if
(
error
.
status
===
400
)
{
alert
(
`Désolé ! Le service que vous souhaitez échanger démarre dans moins de 24h. `
+
`Il n'est plus possible de l'échanger.`
);
alert
(
`Désolé ! Le service que tu souhaites échanger démarre dans moins de 24h. `
+
`Afin de faciliter la logistique des services, il n'est plus possible de l'échanger.`
+
`Si tu ne peux vraiment pas venir, tu seras noté.e absent.e à ton service.`
+
`Tu devras alors sélectionner un service de rattrapage sur ton espace membre.`
);
}
else
{
alert
(
`Une erreur est survenue. `
+
`Il est néanmoins possible que la requête ait abouti, `
+
...
...
@@ -401,4 +403,4 @@ function init_shifts_exchange() {
vw
=
window
.
innerWidth
;
init_calendar_page
();
});
}
\ No newline at end of file
}
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