This will also be in update mode until I get some of the problems ironed out.
svn: r13206
This commit is contained in:
parent
3fa4338cb6
commit
97b107757c
@ -292,23 +292,23 @@ class BasePage(object):
|
|||||||
tbody += trow
|
tbody += trow
|
||||||
|
|
||||||
attr_data_row = [
|
attr_data_row = [
|
||||||
[str(attr.get_type()) ],
|
[str(attr.get_type() ) ],
|
||||||
[attr.get_value() ],
|
[attr.get_value() ] ]
|
||||||
[self.dump_notes(attr.get_note_list()) ] ]
|
|
||||||
|
|
||||||
if showsrc:
|
if showsrc:
|
||||||
source_row = [self.get_citation_links(attr.get_source_references()) ]
|
source_row = self.get_citation_links(attr.get_source_references())
|
||||||
attr_data_row.insert(2, source_row)
|
attr_data_row.append(source_row)
|
||||||
|
|
||||||
|
attr_data_row.append(self.dump_notes(attr.get_note_list() ) )
|
||||||
|
|
||||||
index = 0
|
index = 0
|
||||||
for value in attr_data_row:
|
for value in attr_data_row:
|
||||||
colclass = attr_header_row[index][1]
|
colclass = attr_header_row[index][1]
|
||||||
value = value or " "
|
|
||||||
|
|
||||||
# determine if same row or not?
|
# 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)
|
inline = samerow)
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user