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
fa45be1e
Commit
fa45be1e
authored
Nov 16, 2021
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting #2
parent
8786366e
Pipeline
#1439
failed with stage
in 1 minute 30 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
12 deletions
+10
-12
.eslintrc.js
.eslintrc.js
+1
-1
members-space-home.js
members_space/static/js/members-space-home.js
+0
-9
members-space-my-shifts.js
members_space/static/js/members-space-my-shifts.js
+0
-2
members-space-shifts-exchange.js
members_space/static/js/members-space-shifts-exchange.js
+0
-0
members-space.js
members_space/static/js/members-space.js
+9
-0
No files found.
.eslintrc.js
View file @
fa45be1e
...
@@ -41,7 +41,7 @@ module.exports = {
...
@@ -41,7 +41,7 @@ module.exports = {
"block-scoped-var"
:
"off"
,
"block-scoped-var"
:
"off"
,
"block-spacing"
:
"warn"
,
"block-spacing"
:
"warn"
,
"brace-style"
:
"warn"
,
"brace-style"
:
"warn"
,
"callback-return"
:
"
warn
"
,
"callback-return"
:
"
off
"
,
"camelcase"
:
"off"
,
"camelcase"
:
"off"
,
"capitalized-comments"
:
"off"
,
"capitalized-comments"
:
"off"
,
"class-methods-use-this"
:
"error"
,
"class-methods-use-this"
:
"error"
,
...
...
members_space/static/js/members-space-home.js
View file @
fa45be1e
const
possible_cooperative_state
=
{
suspended
:
"Rattrapage"
,
exempted
:
"Exempté.e"
,
alert
:
"En alerte"
,
up_to_date
:
"À jour"
,
unsubscribed
:
"Désinscrit.e"
,
delay
:
"En délai"
};
/**
/**
* Request a 6 month delay
* Request a 6 month delay
*/
*/
...
...
members_space/static/js/members-space-my-shifts.js
View file @
fa45be1e
...
@@ -95,8 +95,6 @@ function init_history() {
...
@@ -95,8 +95,6 @@ function init_history() {
$
(
"#history"
).
empty
()
$
(
"#history"
).
empty
()
.
text
(
"Aucun historique... pour l'instant !"
);
.
text
(
"Aucun historique... pour l'instant !"
);
}
else
{
}
else
{
let
viewportWidth
=
$
(
window
).
width
();
history_table
=
$
(
'#history_table'
).
DataTable
({
history_table
=
$
(
'#history_table'
).
DataTable
({
data
:
partner_history
,
data
:
partner_history
,
columns
:
[
columns
:
[
...
...
members_space/static/js/members-space-shifts-exchange.js
View file @
fa45be1e
members_space/static/js/members-space.js
View file @
fa45be1e
...
@@ -10,6 +10,15 @@ var base_location = null,
...
@@ -10,6 +10,15 @@ var base_location = null,
var
date_options
=
{
weekday
:
"long"
,
year
:
"numeric"
,
month
:
"long"
,
day
:
"numeric"
};
var
date_options
=
{
weekday
:
"long"
,
year
:
"numeric"
,
month
:
"long"
,
day
:
"numeric"
};
var
time_options
=
{
hour
:
'2-digit'
,
minute
:
'2-digit'
};
var
time_options
=
{
hour
:
'2-digit'
,
minute
:
'2-digit'
};
const
possible_cooperative_state
=
{
suspended
:
"Rattrapage"
,
exempted
:
"Exempté.e"
,
alert
:
"En alerte"
,
up_to_date
:
"À jour"
,
unsubscribed
:
"Désinscrit.e"
,
delay
:
"En délai"
};
/* - Data */
/* - Data */
/**
/**
...
...
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