incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [38/50] [abbrv] git commit: [#6138] Changed grouped tool label to use defined capitalization instead of calling .capitalize()
Date Tue, 07 May 2013 22:29:12 GMT
[#6138] Changed grouped tool label to use defined capitalization instead of calling .capitalize()

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>


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

Branch: refs/heads/tv/4321
Commit: 9bfc415a5d2c3f43263cde410245cf4f75e317ed
Parents: 3e12f6d
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Mon May 6 18:47:44 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue May 7 17:41:58 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/9bfc415a/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index 982dad8..39f1adb 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -498,7 +498,7 @@ class Project(MappedClass, ActivityNode, ActivityObject):
                 if tool_name not in grouped_nav:
                     child = deepcopy(e)
                     # change label to be the tool name (type)
-                    e.label = tool_name.capitalize()
+                    e.label = g.entry_points['tool'][tool_name].tool_label
                     # add tool url to list of urls that will match this nav entry
                     # have to do this before changing the url to the list page
                     e.matching_urls.append(e.url)


Mime
View raw message