Bug#3813: Removed ColumnPath and made ColumnDescription the hyperlink. Removed ColumnPath Element from all stylesheets.
svn: r15107
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user