small cleanup

restock-tag
dgtlmoon 5 months ago
parent 54e3cb89a2
commit b9679c6d24

@ -47,11 +47,11 @@ class processor_settings_form(processor_text_json_diff_form):
<span class="pure-form-message-inline">When OFF - Only care about restock detection</span> <span class="pure-form-message-inline">When OFF - Only care about restock detection</span>
</fieldset> </fieldset>
<fieldset class="pure-group price-change-minmax"> <fieldset class="pure-group price-change-minmax">
{{ render_field(form.price_change_min, placeholder=watch['restock']['price']) }} {{ render_field(form.price_change_min, placeholder=watch['restock'].get('price')) }}
<span class="pure-form-message-inline">Minimum amount, only trigger a change when the price is less than this amount.</span> <span class="pure-form-message-inline">Minimum amount, only trigger a change when the price is less than this amount.</span>
</fieldset> </fieldset>
<fieldset class="pure-group price-change-minmax"> <fieldset class="pure-group price-change-minmax">
{{ render_field(form.price_change_max, placeholder=watch['restock']['price']) }} {{ render_field(form.price_change_max, placeholder=watch['restock'].get('price')) }}
<span class="pure-form-message-inline">Maximum amount, only trigger a change when the price is more than this amount.</span> <span class="pure-form-message-inline">Maximum amount, only trigger a change when the price is more than this amount.</span>
</fieldset> </fieldset>
<fieldset class="pure-group price-change-minmax"> <fieldset class="pure-group price-change-minmax">
@ -60,4 +60,5 @@ class processor_settings_form(processor_text_json_diff_form):
<span class="pure-form-message-inline">For example, If the product is $1,000 USD originally, <strong>2%</strong> would mean it has to change more than $20 since the first check.</span><br> <span class="pure-form-message-inline">For example, If the product is $1,000 USD originally, <strong>2%</strong> would mean it has to change more than $20 since the first check.</span><br>
</fieldset> </fieldset>
</div> </div>
</fieldset>""" </fieldset>
"""
Loading…
Cancel
Save