From 3f2a231f4b071793e1bf9811b10f296f9b2b1384 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Mon, 19 Mar 2012 02:31:34 +0000 Subject: [PATCH] Bug#0005274: Narweb - Web Link, showing Url -- has been fixed as requested. svn: r19084 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index ea11b084f..ae39be9c6 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1639,7 +1639,6 @@ class BasePage(object): Html('th', label, class_ = "Column" + colclass, inline = True) for (label, colclass) in [ (THEAD, "Type"), - (_("Url"), "Path"), (DESCRHEAD, "Description") ] ) @@ -1670,12 +1669,13 @@ class BasePage(object): if not (uri.startswith("ftp://") or uri.startswith("ftps://")): uri = "ftp://%(ftpsite)s" % { "ftpsite" : uri } - uri = Html("a", uri, href = uri, title = html_escape(descr)) + descr = Html("p", html_escape(descr)) + ( + Html("a", _(" ]Click to Go]"), href = uri, title = uri) + ) trow.extend( Html("td", data, class_ = "Column" + colclass, inline = True) for (data, colclass) in [ (str(_type), "Type"), - (uri, "Path"), (descr, "Description") ] )