Bug#3813: Removed ColumnPath and made ColumnDescription the hyperlink. Removed ColumnPath Element from all stylesheets.

svn: r15107
This commit is contained in:
Rob G. Healey
2010-04-14 04:38:19 +00:00
parent 8667244185
commit e231990b74
9 changed files with 14 additions and 48 deletions

View File

@@ -1436,10 +1436,9 @@ class BasePage(object):
trow.extend(
Html('th', label, class_ = "Column" + colclass, inline = True)
for (label, colclass) in [
(" ", "RowLabel"),
(THEAD, "Type"),
(_("Path"), "Path"),
(DESCRHEAD, "Description") ]
(" ", "RowLabel"),
(THEAD, "Type"),
(_("Link/ Description"), "Description") ]
)
tbody = Html("tbody")
@@ -1477,12 +1476,11 @@ class BasePage(object):
if not uri.startswith("ftp://"):
uri = "ftp://%(ftpsite)s" % { "ftpsite" : uri }
uri = Html("a", descr, href = uri)
descr = Html("a", descr, href = uri, title = html_escape(descr) )
trow.extend(
Html("td", data, class_ = "Column" + colclass)
Html("td", data, class_ = "Column" + colclass, inline = True)
for (data, colclass) in [
(str(_type), "Type"),
(uri, "Path"),
(descr, "Description") ]
)
index += 1