Now combines more repos

This commit is contained in:
Emma Garland
2017-06-05 09:54:59 +01:00
parent 9b67f4cebf
commit 09ed061c9b
4 changed files with 32 additions and 13 deletions
@@ -4,13 +4,13 @@
{
foreach (var contributor in Model.Contributors)
{
var author = contributor.Author;
var author = contributor.First().Author;
if (author != null)
{
<a href="@author.HtmlUrl" class="contributor" target="_blank">
<div class="avatar">
<img alt="@author.Login" src="@author.AvatarUrl" title="@author.Login" />
<span class="contrib-count" title="@(contributor.Total + " contributions")">@contributor.Total</span>
<span class="contrib-count" title="@(contributor.Sum(x=>x.Total) + " contributions")">@contributor.Sum(x => x.Total)</span>
</div>
</a>
}