This will also be in update mode until I get some of the problems ironed out.

svn: r13206
This commit is contained in:
Rob G. Healey 2009-09-15 08:04:26 +00:00
parent 3fa4338cb6
commit 97b107757c

View File

@ -293,22 +293,22 @@ class BasePage(object):
attr_data_row = [
[str(attr.get_type() ) ],
[attr.get_value() ],
[self.dump_notes(attr.get_note_list()) ] ]
[attr.get_value() ] ]
if showsrc:
source_row = [self.get_citation_links(attr.get_source_references()) ]
attr_data_row.insert(2, source_row)
source_row = self.get_citation_links(attr.get_source_references())
attr_data_row.append(source_row)
attr_data_row.append(self.dump_notes(attr.get_note_list() ) )
index = 0
for value in attr_data_row:
colclass = attr_header_row[index][1]
value = value or " "
# determine if same row or not?
samerow = True if (value == " " or colclass == "Type") else False
samerow = True if (value[0] == " " or colclass == "Type") else False
trow += Html("td", value, class_ = "Column%s" % colclass,
trow += Html("td", value[0], class_ = "Column%s" % colclass,
inline = samerow)
index += 1