From 305e4a86f50c7c718a1054318da029d5fbf9eac3 Mon Sep 17 00:00:00 2001 From: Mihai Parparita Date: Tue, 16 Dec 2014 21:34:28 -0800 Subject: [PATCH] Fix pluralization in email intro. --- app/templates/shared/digest.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/shared/digest.html b/app/templates/shared/digest.html index 3bd8a38..660b97b 100644 --- a/app/templates/shared/digest.html +++ b/app/templates/shared/digest.html @@ -11,7 +11,8 @@ height="20" border="0" style="{{style "intro-paragraph.user-avatar"}}">{{.User.Login}}'s) - {{.CommitCount}} commits from years past. + {{.CommitCount}} {{if eq .CommitCount 1}}commit{{else}}commits{{end}} from + years past.

{{range .IntervalDigests }}