Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCheck
design
Commits
856c042c
Commit
856c042c
authored
2 years ago
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide pickup header when pickup items empty
parent
4092d417
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
app/index.html
+1
-1
app/script/check-dashboard.js
+6
-0
No files found.
app/index.html
View file @
856c042c
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
<!-- dashboard -->
<!-- dashboard -->
<section
class=
"container-fluid main-section"
>
<section
class=
"container-fluid main-section"
>
<main>
<main>
<h2
class=
"fs-8 font-weight-bold mt-4 pb-2 border-bottom text-dark multi-lang"
data-msg=
"pickupHeaderTitle"
>
ピックアップ
</h2>
<h2
id=
"pickupHeader"
class=
"fs-8 font-weight-bold mt-4 pb-2 border-bottom text-dark multi-lang"
data-msg=
"pickupHeaderTitle"
>
ピックアップ
</h2>
<div
class=
"item-wrap"
id=
"pickupItems"
>
<div
class=
"item-wrap"
id=
"pickupItems"
>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
app/script/check-dashboard.js
View file @
856c042c
...
@@ -20,6 +20,12 @@ CHK_Dashboard.initPickups = function() {
...
@@ -20,6 +20,12 @@ CHK_Dashboard.initPickups = function() {
$
(
"#pickupItems"
).
append
(
html
);
$
(
"#pickupItems"
).
append
(
html
);
}
}
});
});
//pickup empty
if
(
$
(
"#pickupItems"
).
children
().
length
>
0
)
{
$
(
"#pickupHeader"
).
removeClass
(
'd-none'
);
}
else
{
$
(
"#pickupHeader"
).
addClass
(
'd-none'
);
}
}
}
CHK_Dashboard
.
initCommunications
=
function
()
{
CHK_Dashboard
.
initCommunications
=
function
()
{
...
...
This diff is collapsed.
Click to expand it.
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