portico: Use `1 commit` instead of `1 commits` on the Team page.

When a user listed in the contributors section has only one commit,
`1 commit` should be displayed instead of the incorrect `1 commits`.
This commit is contained in:
Marco Burstein 2018-07-23 18:40:59 -07:00 committed by Tim Abbott
parent d7b7430af0
commit 8c2f0f68b2
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
</div>
<div class='info'>
<b>@<%= name %></b><br />
<%= commits %> commits
<%= commits %> <%= commits === 1 ? 'commit' : 'commits' %>
</div>
</a>
</div>