diff --git a/ChangeLog b/ChangeLog index 0623a2d9e..8d452c0e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-08-11 Brian Matherly + * src/plugins/NarrativeWeb.py: Add event attributes + 2007-08-11 Brian Matherly * src/plugins/NarrativeWeb.py: Convert to use PrivateProxyDb * src/ReportBase/_ReportUtils.py: remove "sanitize" functions. diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 17e3ca6ee..1d419ff0c 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -2254,6 +2254,13 @@ class IndividualPage(BasePage): text += u"

" text += u"
".join(note_text.split("\n")) text += u"

" + + # if the event has a attributes attached to it, get the text and format + # it correctly + for attr in event.get_attribute_list(): + text += _("

%(type)s: %(value)s

") % { + 'type' : attr.get_type(), + 'value' : attr.get_value() } return text