Skip to content

Commit

Permalink
Updated label
Browse files Browse the repository at this point in the history
  • Loading branch information
samsmithnz committed Jan 3, 2023
1 parent 34032ca commit 53fb456
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/RepoGovernance.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,24 @@
}

<div>
<h4>For user <code>@user</code>@* (last updated at @lastUpdated)*@</h4>
<div class="row rowStyle">
<div class="col-md-6">
<h4>For user <code>@user</code>@* (last updated at @lastUpdated)*@</h4>
<b>Legend</b>: <i class="bi bi-heart-fill greenHeart" data-toggle="tooltip" data-placement="bottom" title="No recommendations"></i>=Repo is OK, no recommendations
<i class="bi bi-heart-pulse redHeart" data-toggle="tooltip" data-placement="bottom" title="Recommendations for improvement"></i>=Recommendations for improvement
<br /><br />
</div>
<div class="col-md-6">
<div style="font-size:14px;">
<strong>Top 5 languages detected:</strong><br />
@for (int i = 0; (Model.SummaryRepoLanguages.Count < 5 && i < Model.SummaryRepoLanguages.Count) || i < 5; i++)
{
RepoLanguage item = Model.SummaryRepoLanguages[i];
<span class="box" style="background-color: @item.Color;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
<span>@item.Name: @item.Percent.ToString("0%")</span>
<br />
}
</div>
</div>
</div>
</div>
<div>
@foreach (SummaryItem item in Model.SummaryItems)
{
Expand Down

0 comments on commit 53fb456

Please sign in to comment.