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
88ca7c4a
Commit
88ca7c4a
authored
Feb 21, 2022
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting
parent
2c1f7f00
Pipeline
#1828
passed with stage
in 1 minute 29 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
bdm_index.js
members/static/js/admin/bdm_index.js
+4
-0
manage_makeups.js
members/static/js/admin/manage_makeups.js
+1
-0
No files found.
members/static/js/admin/bdm_index.js
View file @
88ca7c4a
...
...
@@ -5,12 +5,16 @@ $(document).ready(function() {
$
(
".page_content"
).
show
();
let
location
=
window
.
location
.
href
;
$
(
'.management_type_button'
).
on
(
'click'
,
function
()
{
if
(
this
.
id
==
'manage_makeups_button'
)
{
window
.
location
.
assign
(
location
+
"/manage_makeups"
);
}
else
if
(
this
.
id
==
'manage_attached_button'
)
{
console
.
log
(
'coming soon...'
);
}
else
if
(
this
.
id
==
'manage_shifts_button'
)
{
console
.
log
(
'coming soon...'
);
}
else
if
(
this
.
id
==
'manage_leaves_button'
)
{
console
.
log
(
'coming soon...'
);
}
});
}
else
{
...
...
members/static/js/admin/manage_makeups.js
View file @
88ca7c4a
...
...
@@ -331,6 +331,7 @@ $(document).ready(function() {
$
(
'#back_to_admin_index'
).
on
(
'click'
,
function
()
{
let
base_location
=
window
.
location
.
href
.
split
(
"manage_makeups"
)[
0
].
slice
(
0
,
-
1
);
window
.
location
.
assign
(
base_location
);
});
...
...
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