rename the field 'binary_availability' to 'do_not_count' in model Drink
This commit is contained in:
parent
b7e9673267
commit
ec7672816a
6 changed files with 11 additions and 10 deletions
|
@ -35,7 +35,7 @@
|
|||
<div class="column" id="pricePerDrink" data-drink-price="{% localize off %}{{ drink.price }}{% endlocalize %}">{{ drink.price }}</div>
|
||||
</div>
|
||||
|
||||
{% if not drink.binary_availability %}
|
||||
{% if not drink.do_not_count %}
|
||||
<div class="row">
|
||||
<div class="column">{% translate "Available" %}:</div>
|
||||
<div class="column">{{ drink.available }}</div>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<div class="column">
|
||||
<span class="customNumberInput">
|
||||
<button type="button" class="customNumberInput-minus" id="numberOfDrinksBtnA">-</button>
|
||||
{% if drink.binary_availability %}
|
||||
{% if drink.do_not_count %}
|
||||
<input type="number" class="customNumberInputField" name="numberOfDrinks" id="numberOfDrinks"
|
||||
min="1" max="100" value="1">
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue