Rammohan0504 commited on
Commit
b9fba04
·
verified ·
1 Parent(s): 5599fb4

Update templates/order_history.html

Browse files
Files changed (1) hide show
  1. templates/order_history.html +3 -2
templates/order_history.html CHANGED
@@ -109,7 +109,9 @@
109
  {% endfor %}
110
  {% endfor %}
111
  {% else %}
112
- <p class="text-center">No or<button class="reorder-button"
 
 
113
  onclick="addToCart('{{ item_parts[0].strip() }}')"
114
  id="{{ item_parts[0].strip() }}"
115
  data-price="{{ item_parts[3].strip().replace('Price:', '') }}"
@@ -118,7 +120,6 @@
118
  data-section="Curries"> <!-- Example section -->
119
  Reorder
120
  </button>
121
- ders found in your history.</p>
122
  {% endif %}
123
  </div>
124
  </div>
 
109
  {% endfor %}
110
  {% endfor %}
111
  {% else %}
112
+ <p class="text-center">No order History Available </p>
113
+
114
+ <button class="reorder-button"
115
  onclick="addToCart('{{ item_parts[0].strip() }}')"
116
  id="{{ item_parts[0].strip() }}"
117
  data-price="{{ item_parts[3].strip().replace('Price:', '') }}"
 
120
  data-section="Curries"> <!-- Example section -->
121
  Reorder
122
  </button>
 
123
  {% endif %}
124
  </div>
125
  </div>