mirror of https://gitlab.com/bashrc2/epicyon
End of line
parent
4030fa2446
commit
b251ceab49
|
@ -367,7 +367,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
extraFields += '<label class="labels">' + catStr + '</label><br>\n'
|
extraFields += '<label class="labels">' + catStr + '</label><br>\n'
|
||||||
|
|
||||||
extraFields += ' <select id="themeDropdown" ' + \
|
extraFields += ' <select id="themeDropdown" ' + \
|
||||||
'name="category" class="theme">'
|
'name="category" class="theme">\n'
|
||||||
for category in categoryTypes:
|
for category in categoryTypes:
|
||||||
translatedCategory = "food"
|
translatedCategory = "food"
|
||||||
if translate.get(category):
|
if translate.get(category):
|
||||||
|
@ -394,7 +394,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
'<label class="labels">' + translate['Currency'] + '</label><br>\n'
|
'<label class="labels">' + translate['Currency'] + '</label><br>\n'
|
||||||
currencies = getCurrencies()
|
currencies = getCurrencies()
|
||||||
extraFields += ' <select id="themeDropdown" ' + \
|
extraFields += ' <select id="themeDropdown" ' + \
|
||||||
'name="itemCurrency" class="theme">'
|
'name="itemCurrency" class="theme">\n'
|
||||||
currencyList = []
|
currencyList = []
|
||||||
for symbol, currName in currencies.items():
|
for symbol, currName in currencies.items():
|
||||||
currencyList.append(currName + ' ' + symbol)
|
currencyList.append(currName + ' ' + symbol)
|
||||||
|
|
Loading…
Reference in New Issue