From 1a0eb9ce072ea33083ddec499c4fef9de72108b3 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 21 Apr 2010 00:31:33 +0000 Subject: [PATCH] 3848: NarWeb: a Family Attribute confuses following families svn: r15248 --- 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 bb83e040b..b6ff093d5 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -332,8 +332,6 @@ class BasePage(object): trow = Html("tr") attr_data_row = [ - ("Type", " "), - ("Attribute", " "), ("AttrType", str(attr.get_type() ) ), ("AttrValue", attr.get_value() ) ] @@ -866,7 +864,7 @@ class BasePage(object): return None # begin attributes division and section title - with Html("div", class_ = "ubsection", id = "attributes") as section: + with Html("div", class_ = "subsection", id = "attributes") as section: section += Html("h4", AHEAD, inline = True) # begin attributes table @@ -882,8 +880,6 @@ class BasePage(object): trow.extend( Html("th", label, class_ = "Column" + colclass, inline = True) for (label, colclass) in [ - (" ", "Type"), - (" ", "Attribute"), (_("Attribute/ Type"), "AttrType"), (VHEAD, "AttrValue"), (NHEAD, "AttrNotes"), @@ -4566,8 +4562,14 @@ class IndividualPage(BasePage): # family attributes attrlist = family.get_attribute_list() if attrlist: + attr_trow = Html("tr") + attr_tcol = Html("td", class_="ColumnValue") + table += attr_trow + attr_trow += Html("td", class_="ColumnType") + attr_trow += Html("td", class_="ColumnAttribute") + attr_trow += attr_tcol with Html("table", class_ = "infolist attrlist") as attrTable: - table += attrTable + attr_tcol += attrTable thead = Html("thead") attrTable += thead @@ -4578,8 +4580,6 @@ class IndividualPage(BasePage): trow.extend( Html("th", label, class_ = "Column" + colclass, inline = True) for (label, colclass) in [ - (" ", "Type"), - (" ", "Attribute"), (_("Attribute/ Type"), "AttrType"), (_("Value"), "AttrValue"), (NHEAD, "AttrNotes"),