mirror of https://gitlab.com/bashrc2/epicyon
Newlines
parent
4198e12c42
commit
51ff7f8126
|
@ -141,12 +141,13 @@ def _htmlSearchResultShare(sharedItem: {}, translate: {},
|
|||
'<b>' + translate['Quantity'] + \
|
||||
':</b> ' + str(sharedItem['itemQty']) + '<br>'
|
||||
sharedItemsForm += \
|
||||
'<b>' + translate['Type'] + ':</b> ' + sharedItem['itemType'] + ' '
|
||||
'<b>' + translate['Type'] + ':</b> ' + sharedItem['itemType'] + '<br>'
|
||||
sharedItemsForm += \
|
||||
'<b>' + translate['Category'] + ':</b> ' + sharedItem['category'] + ' '
|
||||
'<b>' + translate['Category'] + ':</b> ' + sharedItem['category'] + '<br>'
|
||||
if sharedItem.get('location'):
|
||||
sharedItemsForm += \
|
||||
'<b>' + translate['Location'] + ':</b> ' + sharedItem['location']
|
||||
'<b>' + translate['Location'] + ':</b> ' + \
|
||||
sharedItem['location'] + '<br>'
|
||||
if sharedItem.get('itemPrice') and \
|
||||
sharedItem.get('itemCurrency'):
|
||||
if isfloat(sharedItem['itemPrice']):
|
||||
|
|
|
@ -830,12 +830,13 @@ def htmlIndividualShare(actor: str, item: {}, translate: {},
|
|||
'<b>' + translate['Quantity'] + ':</b> ' + \
|
||||
str(item['itemQty']) + '<br>'
|
||||
profileStr += \
|
||||
'<b>' + translate['Type'] + ':</b> ' + item['itemType'] + ' '
|
||||
'<b>' + translate['Type'] + ':</b> ' + item['itemType'] + '<br>'
|
||||
profileStr += \
|
||||
'<b>' + translate['Category'] + ':</b> ' + item['category'] + ' '
|
||||
'<b>' + translate['Category'] + ':</b> ' + item['category'] + '<br>'
|
||||
if item.get('location'):
|
||||
profileStr += \
|
||||
'<b>' + translate['Location'] + ':</b> ' + item['location']
|
||||
'<b>' + translate['Location'] + ':</b> ' + \
|
||||
item['location'] + '<br>'
|
||||
if item.get('itemPrice') and item.get('itemCurrency'):
|
||||
if isfloat(item['itemPrice']):
|
||||
if float(item['itemPrice']) > 0:
|
||||
|
|
Loading…
Reference in New Issue