De-dupe discount header/text
The version with the header was better, so let's use that in both places by moving it inside the template.
This commit is contained in:
		
							parent
							
								
									8d84438543
								
							
						
					
					
						commit
						7965ac4111
					
				
					 3 changed files with 7 additions and 14 deletions
				
			
		|  | @ -1,4 +1,6 @@ | |||
| {% if discounts %} | ||||
| <h3>Discounts and Complimentary Items</h3> | ||||
| <div class="vertical-small"></div> | ||||
| 
 | ||||
|   {% regroup discounts by discount.description as discounts_grouped %} | ||||
|   {% for discount_type in discounts_grouped %} | ||||
|  | @ -9,4 +11,9 @@ | |||
|     {% endfor %} | ||||
|   </ul> | ||||
|   {% endfor %} | ||||
|   <blockquote><small>Any applicable discounts will be applied automatically when you check out.</small></blockquote> | ||||
| 
 | ||||
|   <hr /> | ||||
| 
 | ||||
| 
 | ||||
| {% endif %} | ||||
|  |  | |||
|  | @ -26,14 +26,6 @@ | |||
| 
 | ||||
|         {% if section.discounts %} | ||||
|           {% include "registrasion/discount_list.html" with discounts=section.discounts %} | ||||
| 
 | ||||
|           <blockquote><small> | ||||
|             You must select a product to receive any discounts.<br/> | ||||
|             Applicable discounts will be applied automatically when you check out. | ||||
|           </small></blockquote> | ||||
| 
 | ||||
|           <hr /> | ||||
| 
 | ||||
|         {% endif %} | ||||
| 
 | ||||
|         <h3>Available options</h3> | ||||
|  |  | |||
|  | @ -50,13 +50,7 @@ | |||
|     <fieldset> | ||||
| 
 | ||||
|       {% if discounts %} | ||||
|         <h3>Discounts and Complimentary Items</h3> | ||||
|         <div class="vertical-small"></div> | ||||
|         {% include "registrasion/discount_list.html" with discounts=discounts %} | ||||
|         <blockquote><small>Any applicable discounts will be applied automatically when you check out.</small></blockquote> | ||||
| 
 | ||||
|         <hr /> | ||||
| 
 | ||||
|       {% endif %} | ||||
| 
 | ||||
|       <h3>Make a selection</h3> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley