This commit is contained in:
Andreas Preikschat 2011-02-01 07:27:19 +01:00
parent 6ac0f162a3
commit cfb263cd82
1 changed files with 4 additions and 2 deletions

View File

@ -1192,12 +1192,14 @@ class ServiceManager(QtGui.QWidget):
printDialog = QtGui.QPrintDialog()
if not printDialog.exec_():
return
text = u'<h1>%s</h1>' % translate('OpenLP.ServiceManager',
text = u'<h2>%s</h2>' % translate('OpenLP.ServiceManager',
'Service Order Sheet')
text += u'<title>%s</title>' % translate('OpenLP.ServiceManager',
'Service Order Sheet')
for item in self.serviceItems:
item = item[u'service_item']
# add the title
text += u'<h2><img src="%s" /> %s</h2>' % (item.icon,
text += u'<h4><img src="%s" /> %s</h4>' % (item.icon,
item.get_display_title())
if not QtCore.QSettings().value(u'advanced' +
u'/detailed service print', QtCore.QVariant(True)).toBool():