Add 'free' badge to conferences
This commit is contained in:
		
							parent
							
								
									e2afe0ffa4
								
							
						
					
					
						commit
						d28e172a8c
					
				| 
						 | 
					@ -32,6 +32,8 @@
 | 
				
			||||||
  <div class="grid-item text-end">
 | 
					  <div class="grid-item text-end">
 | 
				
			||||||
    {% if item.price and item.currency %}
 | 
					    {% if item.price and item.currency %}
 | 
				
			||||||
      <span class="badge bg-info text-nowrap">{{ "{:,d}".format(item.price | int) }} {{ item.currency }}</span>
 | 
					      <span class="badge bg-info text-nowrap">{{ "{:,d}".format(item.price | int) }} {{ item.currency }}</span>
 | 
				
			||||||
 | 
					    {% elif item.free %}
 | 
				
			||||||
 | 
					      <span class="badge bg-success text-nowrap">free to attend</span>
 | 
				
			||||||
    {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div class="grid-item">{{ item.topic }}</div>
 | 
					  <div class="grid-item">{{ item.topic }}</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue