wip: UI refactoring

* Cleanup

see #204
This commit is contained in:
Antoine Nguyen
2012-04-22 10:58:44 +02:00
parent 89d946c8cf
commit 5f4b4dee5d
61 changed files with 30 additions and 25 deletions
+2
View File
@@ -61,6 +61,8 @@ class ImgColumn(Column):
return ""
def render(self, value):
if type(value) in [list, tuple]:
return "".join(map(lambda i: "<img src='%s' />" % i, value))
return "<img src='%s' />" % value
class DivColumn(Column):