From 97b107757cdaf5c122141c2b68fc3d4f373683f6 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Tue, 15 Sep 2009 08:04:26 +0000 Subject: [PATCH] This will also be in update mode until I get some of the problems ironed out. svn: r13206 --- src/plugins/webreport/NarrativeWeb.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 0ca0b6495..aad392252 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -292,23 +292,23 @@ class BasePage(object): tbody += trow attr_data_row = [ - [str(attr.get_type()) ], - [attr.get_value() ], - [self.dump_notes(attr.get_note_list()) ] ] + [str(attr.get_type() ) ], + [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