Skip to content
GitLab
Next
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
www-gitlab-com
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2,161
Issues
2,161
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1,242
Merge Requests
1,242
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GitLab.com
www-gitlab-com
Commits
cf135c4e
Commit
cf135c4e
authored
Oct 11, 2019
by
Eric Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collapsing next steps into health reasons
parent
27078a96
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
306 additions
and
331 deletions
+306
-331
data/performance_indicators.yml
data/performance_indicators.yml
+298
-318
source/includes/_performance_indicator.erb
source/includes/_performance_indicator.erb
+5
-8
source/includes/_performance_indicators.html.erb
source/includes/_performance_indicators.html.erb
+3
-5
No files found.
data/performance_indicators.yml
View file @
cf135c4e
This diff is collapsed.
Click to expand it.
source/includes/_performance_indicator.erb
View file @
cf135c4e
...
...
@@ -25,14 +25,11 @@
<%
end
%>
<b>
Health:
<%=
color_code_health
(
performance_indicator
.
health
.
level
)
%>
</b>
<p>
<%=
performance_indicator
.
health
.
reason
%>
</p>
<b>
Maturity:
<%=
color_code_maturity
(
performance_indicator
.
maturity
.
level
)
%>
</b>
<p>
<%=
performance_indicator
.
maturity
.
reason
%>
</p>
<b>
Next Steps
</b>
<ul>
<%
performance_indicator
.
next_steps
.
each
do
|
next_step
|
%>
<li>
<%=
next_step
%>
</li>
<%
performance_indicator
.
health
.
reasons
.
each
do
|
reason
|
%>
<li>
<%=
reason
%>
</li>
<%
end
%>
</ul>
<b>
Maturity:
<%=
color_code_maturity
(
performance_indicator
.
maturity
.
level
)
%>
</b>
<p>
<%=
performance_indicator
.
maturity
.
reason
%>
</p>
\ No newline at end of file
source/includes/_performance_indicators.html.erb
View file @
cf135c4e
...
...
@@ -5,16 +5,14 @@
<tr>
<td>
KPI
</td>
<td>
Health
</td>
<td>
Reason
</td>
<td>
Next Steps
</td>
<td>
Reason(s)
</td>
</tr>
<%
key_performance_indicators
.
each
do
|
kpi
|
%>
<tr>
<td><a
href=
"#
<%=
kpi
.
name
.
parameterize
%>
"
>
<%=
kpi
.
name
%>
</a></td>
<td>
<%=
color_code_health
kpi
.
health
.
level
%>
</td>
<td>
<%=
kpi
.
health
.
reason
%>
</td>
<td>
<%
kpi
.
next_steps
.
each
do
|
next_step
|
%>
<li>
<%=
next_step
%>
</li>
<td>
<%
kpi
.
health
.
reasons
.
each
do
|
reason
|
%>
<li>
<%=
reason
%>
</li>
<%
end
%>
</td>
</tr>
<%
end
%>
...
...
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