Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
13a8d9ea
Commit
13a8d9ea
authored
4 years ago
by
Shrikrishna Singh
Browse files
Options
Downloads
Patches
Plain Diff
Disable view label from summary card when there is no data to view
parent
fe81a1f8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hypha/apply/dashboard/templates/dashboard/dashboard.html
+12
-4
12 additions, 4 deletions
hypha/apply/dashboard/templates/dashboard/dashboard.html
with
12 additions
and
4 deletions
hypha/apply/dashboard/templates/dashboard/dashboard.html
+
12
−
4
View file @
13a8d9ea
...
@@ -28,24 +28,32 @@
...
@@ -28,24 +28,32 @@
<a
href=
"#submissions-awaiting-review"
class=
"stat-block__item"
>
<a
href=
"#submissions-awaiting-review"
class=
"stat-block__item"
>
<p
class=
"stat-block__number"
>
{{ awaiting_reviews.count }}
</p>
<p
class=
"stat-block__number"
>
{{ awaiting_reviews.count }}
</p>
<p
class=
"stat-block__text"
>
Submissions waiting for your review
</p>
<p
class=
"stat-block__text"
>
Submissions waiting for your review
</p>
<div
class=
"stat-block__view"
>
View
</div>
{% if awaiting_reviews.count %}
<div
class=
"stat-block__view"
>
View
</div>
{% endif %}
</a>
</a>
<a
href=
"#active-projects"
class=
"stat-block__item"
>
<a
href=
"#active-projects"
class=
"stat-block__item"
>
<p
class=
"stat-block__number"
>
{{ projects.count }}
</p>
<p
class=
"stat-block__number"
>
{{ projects.count }}
</p>
<p
class=
"stat-block__text"
>
Live projects under your management
</p>
<p
class=
"stat-block__text"
>
Live projects under your management
</p>
<div
class=
"stat-block__view"
>
View
</div>
{% if projects.count %}
<div
class=
"stat-block__view"
>
View
</div>
{% endif %}
</a>
</a>
{% if not projects_to_approve.count is None%}
{% if not projects_to_approve.count is None%}
<a
href=
"#projects-awaiting-approval"
class=
"stat-block__item"
>
<a
href=
"#projects-awaiting-approval"
class=
"stat-block__item"
>
<p
class=
"stat-block__number"
>
{{ projects_to_approve.count }}
</p>
<p
class=
"stat-block__number"
>
{{ projects_to_approve.count }}
</p>
<p
class=
"stat-block__text"
>
Projects awaiting approval
</p>
<p
class=
"stat-block__text"
>
Projects awaiting approval
</p>
<div
class=
"stat-block__view"
>
View
</div>
{% if projects_to_approve.count %}
<div
class=
"stat-block__view"
>
View
</div>
{% endif %}
</a>
</a>
{% endif %}
{% endif %}
<a
href=
"#active-payment-requests"
class=
"stat-block__item"
>
<a
href=
"#active-payment-requests"
class=
"stat-block__item"
>
<p
class=
"stat-block__number"
>
{{ active_payment_requests.count }}
</p>
<p
class=
"stat-block__number"
>
{{ active_payment_requests.count }}
</p>
<p
class=
"stat-block__text"
>
Requests for payment requiring your attention
</p>
<p
class=
"stat-block__text"
>
Requests for payment requiring your attention
</p>
<div
class=
"stat-block__view"
>
View
</div>
{% if active_payment_requests.count %}
<div
class=
"stat-block__view"
>
View
</div>
{% endif %}
</a>
</a>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment