svn: r13804
This commit is contained in:
Gerald Britton 2009-12-14 18:32:46 +00:00
parent 35a29e9ef5
commit 04a15c8647

View File

@ -3280,7 +3280,7 @@ class MediaListPage(BasePage):
]
trow.extend(
Html("th", label, class_ = "Column" + colclass, inline = True)
for (label, colclass) in media_header_row
for (label, colclass) in media_header_row
)
# begin table body
@ -3293,9 +3293,7 @@ class MediaListPage(BasePage):
for handle in mlist:
media = db.get_object_from_handle(handle)
title = media.get_description()
if not title:
title = "[untitled]"
title = media.get_description() or "[untitled]"
trow = Html("tr")
tbody += trow
@ -3309,7 +3307,7 @@ class MediaListPage(BasePage):
trow.extend(
Html("td", data, class_ = "Column" + colclass)
for (data, colclass) in media_data_row
for (data, colclass) in media_data_row
)
index += 1