Skip to content

Commit

Permalink
Adding more language stats (#326)
Browse files Browse the repository at this point in the history
* Added basic languages

* Added languages

* Fixed typo
  • Loading branch information
samsmithnz committed Jan 1, 2023
1 parent b69c13c commit 10e17ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/RepoGovernance.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,20 @@
<br />
}
}
@if (item.RepoLanguages.Count > 0)
{
<div style="font-size:8pt;">
<strong>Languages detected:</strong><br />
@foreach (RepoLanguage language in item.RepoLanguages)
{
if (language.Percent > 0)
{
<span>@language.Name: @language.Percent.ToString("0%")</span>
<br />
}
}
</div>
}
</div>
<div class="col-md-4">
@if (item.DORASummary != null)
Expand Down

0 comments on commit 10e17ca

Please sign in to comment.