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 [Forced Update!]
Date Mon, 24 Oct 2016 20:08:53 GMT
Repository: allura
Updated Branches:
  refs/heads/db/5496 7d670d827 -> 3b8a6bfeb (forced update)


[#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/3b8a6bfe
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/3b8a6bfe
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/3b8a6bfe

Branch: refs/heads/db/5496
Commit: 3b8a6bfebc7610cd7f2e453dff7419eac99136ca
Parents: dd20509
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 16:08:36 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/3b8a6bfe/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