Update template
This commit is contained in:
		
							parent
							
								
									ab60721e15
								
							
						
					
					
						commit
						dce8fde29a
					
				| 
						 | 
					@ -248,23 +248,22 @@
 | 
				
			||||||
    <div class="mt-3">
 | 
					    <div class="mt-3">
 | 
				
			||||||
    <h4>Holidays</h4>
 | 
					    <h4>Holidays</h4>
 | 
				
			||||||
    {% if holidays %}
 | 
					    {% if holidays %}
 | 
				
			||||||
 | 
					      <table class="table table-hover w-auto">
 | 
				
			||||||
    <table class="table table-hover w-auto">
 | 
					      {% for item in holidays %}
 | 
				
			||||||
    {% for item in holidays %}
 | 
					        {% set country = get_country(item.country) %}
 | 
				
			||||||
      {% set country = get_country(item.country) %}
 | 
					        <tr>
 | 
				
			||||||
      <tr>
 | 
					          {% if loop.first or item.date != loop.previtem.date %}
 | 
				
			||||||
        {% if loop.first or item.date != loop.previtem.date %}
 | 
					            <td class="text-end">{{ display_date(item.date) }}</td>
 | 
				
			||||||
          <td class="text-end">{{ display_date(item.date) }}</td>
 | 
					          {% else %}
 | 
				
			||||||
        {% else %}
 | 
					            <td></td>
 | 
				
			||||||
          <td></td>
 | 
					          {% endif %}
 | 
				
			||||||
        {% endif %}
 | 
					          <td>{{ country.flag }} {{ country.name }}</td>
 | 
				
			||||||
        <td>{{ country.flag }} {{ country.name }}</td>
 | 
					          <td>{{ item.display_name }}</td>
 | 
				
			||||||
        <td>{{ item.display_name }}</td>
 | 
					        </tr>
 | 
				
			||||||
      </tr>
 | 
					      {% endfor %}
 | 
				
			||||||
    {% endfor %}
 | 
					      </table>
 | 
				
			||||||
    </table>
 | 
					 | 
				
			||||||
    {% else %}
 | 
					    {% else %}
 | 
				
			||||||
    <p>No public holidays during trip.</p>
 | 
					      <p>No public holidays during trip.</p>
 | 
				
			||||||
    {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue