6133: private home note and privacy filter (patch by Serge Noiraud)
svn: r20624
This commit is contained in:
parent
410685135e
commit
ad4bf17642
@ -810,14 +810,16 @@ class BasePage(object):
|
|||||||
"""
|
"""
|
||||||
self.report.link_prefix_up = link_prefix_up
|
self.report.link_prefix_up = link_prefix_up
|
||||||
|
|
||||||
# retrieve the body of the note
|
text = ""
|
||||||
note_text = note.get()
|
if note is not None:
|
||||||
|
# retrieve the body of the note
|
||||||
|
note_text = note.get()
|
||||||
|
|
||||||
# styled notes
|
# styled notes
|
||||||
htmlnotetext = self.styled_note(note.get_styledtext(),
|
htmlnotetext = self.styled_note(note.get_styledtext(),
|
||||||
note.get_format(), contains_html =
|
note.get_format(), contains_html =
|
||||||
note.get_type() == NoteType.HTML_CODE)
|
note.get_type() == NoteType.HTML_CODE)
|
||||||
text = htmlnotetext or Html("p", note_text)
|
text = htmlnotetext or Html("p", note_text)
|
||||||
|
|
||||||
# return text of the note to its callers
|
# return text of the note to its callers
|
||||||
return text
|
return text
|
||||||
|
Loading…
Reference in New Issue
Block a user