3805: Report 'Narrated Web Site...' - Contact page will be shown only if Publisher contact note OR image was set before

svn: r15218
This commit is contained in:
Doug Blank 2010-04-18 13:52:59 +00:00
parent d5056554a0
commit 3afeecc8b2

View File

@ -5792,11 +5792,17 @@ class NavWebOptions(MenuReportOptions):
menu.add_option(category_name, "introimg", introimg)
contactnote = NoteOption(_("Publisher contact note"))
contactnote.set_help( _("A note to be used as the publisher contact"))
contactnote.set_help( _("A note to be used as the publisher contact."+
"\nIf no publisher information is given," +
"\nno contact page will be created")
)
menu.add_option(category_name, "contactnote", contactnote)
contactimg = MediaOption(_("Publisher contact image"))
contactimg.set_help( _("An image to be used as the publisher contact"))
contactimg.set_help( _("An image to be used as the publisher contact." +
"\nIf no publisher information is given," +
"\nno contact page will be created")
)
menu.add_option(category_name, "contactimg", contactimg)
headernote = NoteOption(_('HTML user header'))