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

svn: r15217
This commit is contained in:
Doug Blank 2010-04-18 13:52:34 +00:00
parent 6ed480d1d9
commit 62e4b4bc29

View File

@ -5872,11 +5872,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'))