Add link to instance for its id in floating ip list
* fix bug 964735 Change-Id: I75398eecb36c272fffb19fb3fc368d6f3d0df313
This commit is contained in:
@@ -448,8 +448,9 @@ class Cell(html.HTMLElement):
|
||||
raise template.TemplateSyntaxError, exc_info[1], exc_info[2]
|
||||
if self.column.link:
|
||||
url = self.column.get_link_url(self.datum)
|
||||
# Escape the data inside while allowing our HTML to render
|
||||
data = mark_safe('<a href="%s">%s</a>' % (url, escape(data)))
|
||||
if url:
|
||||
# Escape the data inside while allowing our HTML to render
|
||||
data = mark_safe('<a href="%s">%s</a>' % (url, escape(data)))
|
||||
return data
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user