Currency placeholder

main
Bob Mottram 2021-07-27 19:54:27 +01:00
parent b8496f9533
commit 4cc0bd03d5
2 changed files with 2 additions and 5 deletions

View File

@ -13804,9 +13804,6 @@ class PubServer(BaseHTTPRequestHandler):
if not fields.get('category'):
print(postType + ' no category')
return -1
if not fields.get('location'):
print(postType + ' no location')
return -1
if not fields.get('duration'):
print(postType + ' no duratio')
return -1

View File

@ -376,8 +376,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
extraFields += \
editCurrencyField(translate['Price'] + ':', 'itemPrice', '0.00')
extraFields += '<br>' + \
editTextField(translate['Currency'] + ':',
'itemCurrency', 'EUR')
editTextField(translate['Currency'] + ':', 'itemCurrency', 'EUR',
'EUR / GBP / USD ...', True)
extraFields += '</div>\n'
citationsStr = ''