From 6c49a13c8ffaa519149913993a18c8aac8b00f7b Mon Sep 17 00:00:00 2001 From: anishTP Date: Sat, 16 Nov 2024 10:52:20 +0530 Subject: [PATCH] Fixed missing references to featured_project --- funnel/templates/profile_layout.html.jinja2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funnel/templates/profile_layout.html.jinja2 b/funnel/templates/profile_layout.html.jinja2 index 845e3451b..d444f2738 100644 --- a/funnel/templates/profile_layout.html.jinja2 +++ b/funnel/templates/profile_layout.html.jinja2 @@ -126,12 +126,12 @@
- {%- if project.primary_venue or project.location %} + {%- if featured_project.primary_venue or featured_project.location %}
{{ faicon(icon='map-marker-alt', icon_size='caption', baseline=false) }} {%- if featured_project.primary_venue.title and featured_project.primary_venue.city %} - {% trans venue=project.primary_venue.title, city=project.primary_venue.city -%} + {% trans venue=featured_project.primary_venue.title, city=featured_project.primary_venue.city -%} {{ venue }}, {{ city }} {%- endtrans %} {%- elif featured_project.primary_venue.title %}