Icon title is buy

merge-requests/30/head
Bob Mottram 2023-01-13 21:52:22 +00:00
parent dd299c636e
commit 43cc11806b
1 changed files with 1 additions and 5 deletions

View File

@ -1844,13 +1844,9 @@ def _get_buy_footer(buy_links: {}, translate: {}) -> str:
if not buy_links: if not buy_links:
return '' return ''
icon_filename = 'buy.png' icon_filename = 'buy.png'
description = '' description = translate['Buy']
buy_str = '' buy_str = ''
for buy_title, buy_url in buy_links.items(): for buy_title, buy_url in buy_links.items():
if buy_title:
description = buy_title
else:
description = translate['Buy']
buy_str = \ buy_str = \
' ' + \ ' ' + \
'<a class="imageAnchor" href="' + buy_url + \ '<a class="imageAnchor" href="' + buy_url + \