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

svn: r14874
This commit is contained in:
Jérôme Rapinat 2010-03-20 08:24:14 +00:00
parent 56d940ca03
commit 2974f5034b

View File

@ -1436,7 +1436,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 = "%s" % uri) list += Html("a", descr, href = "%s" % uri)
# FTP server address # FTP server address
elif _type == UrlType.WEB_FTP: elif _type == UrlType.WEB_FTP: