mirror of https://github.com/zulip/zulip.git
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:
parent
d7b7430af0
commit
8c2f0f68b2
|
@ -167,7 +167,7 @@
|
|||
</div>
|
||||
<div class='info'>
|
||||
<b>@<%= name %></b><br />
|
||||
<%= commits %> commits
|
||||
<%= commits %> <%= commits === 1 ? 'commit' : 'commits' %>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue