added a placeholder to show the ccli number of a song

This commit is contained in:
Johannes Thomas Meyer 2017-06-04 15:10:01 +02:00 committed by Samuel Mehrbrodt
parent 0f3d86f0d1
commit eadabee85e
2 changed files with 2 additions and 0 deletions

View File

@ -682,6 +682,7 @@ class SongMediaItem(MediaManagerItem):
'songbook_entries': make_list(songbooks),
'ccli_license': Settings().value('core/ccli number'),
'ccli_license_label': translate('SongsPlugin.MediaItem', 'CCLI License'),
'ccli_number': song.ccli_number,
'topics': make_list([topic.name for topic in song.topics])
})

View File

@ -151,6 +151,7 @@ class SongsTab(SettingsTab):
['songbook_entries', translate('SongsPlugin.SongsTab', 'Songbook Entries'), False, True],
['ccli_license', translate('SongsPlugin.SongsTab', 'CCLI License'), True, 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],
]