3744: Cannot display name, description, uri for 'Web Home' web link generated by NarrativeWeb (need descr)

svn: r14875
This commit is contained in:
Jérôme Rapinat 2010-03-20 08:25:55 +00:00
parent 42b092b307
commit 7d3cebada8

View File

@ -1442,7 +1442,7 @@ class BasePage(object):
if not uri.startswith("http://"): if not uri.startswith("http://"):
list += Html("a", descr, href = 'http://%s' % uri) list += Html("a", descr, href = 'http://%s' % uri)
else: else:
list += Html("a", href = uri) list += Html("a", descr, href = uri)
# FTP server address # FTP server address
elif _type == UrlType.WEB_FTP: elif _type == UrlType.WEB_FTP: