Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OKU-GIS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Muhamad
OKU-GIS
Commits
fe5ca450
Commit
fe5ca450
authored
Dec 14, 2021
by
Muhamad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perm
parent
4da68b7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
templates/includes/permission.html
templates/includes/permission.html
+0
-3
No files found.
templates/includes/permission.html
View file @
fe5ca450
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
</script>
</script>
{% endfor %}
{% endfor %}
<script>
<script>
console
.
log
(
list_perm
)
if
(
list_perm
.
indexOf
(
'
add_roads
'
)
>=
0
===
false
)
{
if
(
list_perm
.
indexOf
(
'
add_roads
'
)
>=
0
===
false
)
{
$
(
"
.btn_create_jalan
"
).
remove
();
$
(
"
.btn_create_jalan
"
).
remove
();
}
}
...
@@ -22,6 +21,4 @@
...
@@ -22,6 +21,4 @@
if
(
list_perm
.
indexOf
(
'
add_roads
'
)
>=
0
===
false
&&
list_perm
.
indexOf
(
'
add_bangunan
'
)
>=
0
===
false
&&
list_perm
.
indexOf
(
'
add_kantor_administrasi
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_layanan_kesehatan
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_puskesmas
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_rumah_sakit
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_sarana_ibadah
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_sarana_pendidikan
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_stasiun
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_terminal_bus
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_cagar_budaya
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_gardu_listrik
'
)
>=
0
===
false
)
{
if
(
list_perm
.
indexOf
(
'
add_roads
'
)
>=
0
===
false
&&
list_perm
.
indexOf
(
'
add_bangunan
'
)
>=
0
===
false
&&
list_perm
.
indexOf
(
'
add_kantor_administrasi
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_layanan_kesehatan
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_puskesmas
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_rumah_sakit
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_sarana_ibadah
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_sarana_pendidikan
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_stasiun
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_terminal_bus
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_cagar_budaya
'
)
>=
0
===
false
||
list_perm
.
indexOf
(
'
add_gardu_listrik
'
)
>=
0
===
false
)
{
$
(
"
#modal_option_create
"
).
remove
();
$
(
"
#modal_option_create
"
).
remove
();
}
}
alert
(
list_perm
.
indexOf
(
'
change_rumah_sakit
'
)
>=
0
)
</script>
</script>
\ 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