Don't show prices for travel and accommodation if not authenticated
This commit is contained in:
		
							parent
							
								
									0e7a4c2386
								
							
						
					
					
						commit
						7d5cfe859a
					
				| 
						 | 
					@ -144,7 +144,7 @@
 | 
				
			||||||
                country code <strong>{{ item.country }}</strong> not found
 | 
					                country code <strong>{{ item.country }}</strong> not found
 | 
				
			||||||
              </span>
 | 
					              </span>
 | 
				
			||||||
            {% endif %}
 | 
					            {% endif %}
 | 
				
			||||||
            {% if item.price and item.currency %}
 | 
					            {% if g.user.is_authenticated and item.price and item.currency %}
 | 
				
			||||||
              | <span class="badge bg-info text-nowrap">price: {{ item.price }} {{ item.currency }}</span>
 | 
					              | <span class="badge bg-info text-nowrap">price: {{ item.price }} {{ item.currency }}</span>
 | 
				
			||||||
            {% endif %}
 | 
					            {% endif %}
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
| 
						 | 
					@ -170,7 +170,7 @@
 | 
				
			||||||
                country code <strong>{{ item.country }}</strong> not found
 | 
					                country code <strong>{{ item.country }}</strong> not found
 | 
				
			||||||
              </span>
 | 
					              </span>
 | 
				
			||||||
            {% endif %}
 | 
					            {% endif %}
 | 
				
			||||||
            {% if item.price and item.currency %}
 | 
					            {% if g.user.is_authenticated and item.price and item.currency %}
 | 
				
			||||||
              | <span class="badge bg-info text-nowrap">price: {{ item.price }} {{ item.currency }}</span>
 | 
					              | <span class="badge bg-info text-nowrap">price: {{ item.price }} {{ item.currency }}</span>
 | 
				
			||||||
            {% endif %}
 | 
					            {% endif %}
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue