Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
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
1
Merge Requests
1
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
agplv3
kohinos-tav
Commits
6a8f359f
Commit
6a8f359f
authored
Jan 04, 2023
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tav_env condition
parent
2f73e642
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
admin.js
assets/js/admin.js
+2
-2
No files found.
assets/js/admin.js
View file @
6a8f359f
...
...
@@ -75,13 +75,13 @@ $(document).ready(function() {
let
linksToCotisationAdherent
=
$
(
'a[href="/admin/cotisation_adherent/list"]'
);
for
(
let
i
=
0
;
i
<
linksToCotisationAdherent
.
length
;
i
++
)
{
if
(
linksToCotisationAdherent
[
i
].
innerText
===
"Cotisation"
)
{
linksToCotisationAdherent
[
i
].
parentNode
.
style
.
display
=
tav_env
?
"none"
:
""
;
linksToCotisationAdherent
[
i
].
parentNode
.
style
.
display
=
(
tav_env
===
"1"
)
?
"none"
:
""
;
}
}
let
linksToProfilDeCotisation
=
$
(
'a[href="/admin/profilcotisation/list"]'
);
for
(
let
i
=
0
;
i
<
linksToProfilDeCotisation
.
length
;
i
++
)
{
if
(
linksToProfilDeCotisation
[
i
].
innerText
===
"Profil De Cotisation"
)
{
linksToProfilDeCotisation
[
i
].
parentNode
.
style
.
display
=
tav_env
?
""
:
"none"
;
linksToProfilDeCotisation
[
i
].
parentNode
.
style
.
display
=
(
tav_env
===
"1"
)
?
""
:
"none"
;
}
}
...
...
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