From 4cc0bd03d5e2e3eb1a7880e9a3af4bbf09310f75 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Jul 2021 19:54:27 +0100 Subject: [PATCH] Currency placeholder --- daemon.py | 3 --- webapp_create_post.py | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/daemon.py b/daemon.py index 3e5908092..66cae4893 100644 --- a/daemon.py +++ b/daemon.py @@ -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 diff --git a/webapp_create_post.py b/webapp_create_post.py index 408694c7e..013d5054b 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -376,8 +376,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, extraFields += \ editCurrencyField(translate['Price'] + ':', 'itemPrice', '0.00') extraFields += '
' + \ - editTextField(translate['Currency'] + ':', - 'itemCurrency', 'EUR') + editTextField(translate['Currency'] + ':', 'itemCurrency', 'EUR', + 'EUR / GBP / USD ...', True) extraFields += '\n' citationsStr = ''