forked from openlp/openlp
added a placeholder to show the ccli number of a song
This commit is contained in:
parent
0f3d86f0d1
commit
eadabee85e
@ -682,6 +682,7 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
'songbook_entries': make_list(songbooks),
|
'songbook_entries': make_list(songbooks),
|
||||||
'ccli_license': Settings().value('core/ccli number'),
|
'ccli_license': Settings().value('core/ccli number'),
|
||||||
'ccli_license_label': translate('SongsPlugin.MediaItem', 'CCLI License'),
|
'ccli_license_label': translate('SongsPlugin.MediaItem', 'CCLI License'),
|
||||||
|
'ccli_number': song.ccli_number,
|
||||||
'topics': make_list([topic.name for topic in song.topics])
|
'topics': make_list([topic.name for topic in song.topics])
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -151,6 +151,7 @@ class SongsTab(SettingsTab):
|
|||||||
['songbook_entries', translate('SongsPlugin.SongsTab', 'Songbook Entries'), False, True],
|
['songbook_entries', translate('SongsPlugin.SongsTab', 'Songbook Entries'), False, True],
|
||||||
['ccli_license', translate('SongsPlugin.SongsTab', 'CCLI License'), True, False],
|
['ccli_license', translate('SongsPlugin.SongsTab', 'CCLI License'), True, False],
|
||||||
['ccli_license_label', const.format(translate('SongsPlugin.SongsTab', 'CCLI License')), False, False],
|
['ccli_license_label', const.format(translate('SongsPlugin.SongsTab', 'CCLI License')), False, False],
|
||||||
|
['ccli_number', translate('SongsPlugin.SongsTab', 'Song CCLI Number'), True, False],
|
||||||
['topics', translate('SongsPlugin.SongsTab', 'Topics'), False, True],
|
['topics', translate('SongsPlugin.SongsTab', 'Topics'), False, True],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user