allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/3] allura git commit: [#5496] nicer plurals
Date Mon, 24 Oct 2016 19:27:23 GMT
Repository: allura
Updated Branches:
  refs/heads/db/5496 [created] 7d670d827


[#5496] nicer plurals


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/7d670d82
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/7d670d82
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/7d670d82

Branch: refs/heads/db/5496
Commit: 7d670d82776abacaf16770735a684313c87b16a0
Parents: ab1bf9a
Author: Dave Brondsema <dave@brondsema.net>
Authored: Mon Oct 24 14:00:53 2016 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Mon Oct 24 15:27:07 2016 -0400

----------------------------------------------------------------------
 Allura/allura/templates/widgets/repo/revision.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/7d670d82/Allura/allura/templates/widgets/repo/revision.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/repo/revision.html b/Allura/allura/templates/widgets/repo/revision.html
index bfe5903..6511deb 100644
--- a/Allura/allura/templates/widgets/repo/revision.html
+++ b/Allura/allura/templates/widgets/repo/revision.html
@@ -56,13 +56,13 @@
             <div class="commit-ancestry">
                 {% if prev %}
                 <p class="commit-parents">
-                  Parent(s):
+                  Parent{% if prev|length > 1 %}s{% endif %}:
                   {% for ci in prev %}<a href="{{ci.url()}}">{{ci.shorthand_id()}}</a>{%
endfor %}
                 </p>
                 {% endif %}
                 {% if next %}
                 <p class="commit-children">
-                  Child(ren):
+                  Child{% if next|length > 1 %}ren{% endif %}:
                   {% for ci in next %}<a href="{{ci.url()}}">{{ci.shorthand_id()}}</a>{%
endfor %}
                 </p>
                 {% endif %}


Mime
View raw message