From b5f4102e95af7d339ede6369df1e2438633b853f Mon Sep 17 00:00:00 2001 From: Amogh M Aradhya Date: Wed, 27 Sep 2023 17:06:48 +0530 Subject: [PATCH] Fixed web template --- .../templates/notifications/project_tomorrow_web.html.jinja2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funnel/templates/notifications/project_tomorrow_web.html.jinja2 b/funnel/templates/notifications/project_tomorrow_web.html.jinja2 index 81d90b244..1d583dafc 100644 --- a/funnel/templates/notifications/project_tomorrow_web.html.jinja2 +++ b/funnel/templates/notifications/project_tomorrow_web.html.jinja2 @@ -2,12 +2,12 @@ {%- from "macros.html.jinja2" import useravatar %} {%- block avatar %} - {{ useravatar(view.project.profile.owner) }} + {{ useravatar(view.project.account) }} {%- endblock avatar -%} {%- block content -%}

- {% trans project=view.project.joined_title, url=view.project.url_for(), start_datetime=(view.session or view.project).start_at_localized|datetime, venue=project.primary_venue.title -%} + {% trans project=view.project.joined_title, url=view.project.url_for(), start_datetime=(view.session or view.project).start_at_localized|datetime, venue=view.project.primary_venue.title -%} {{ project }} has an in-person session at {{ venue }}, starting {{ start_datetime }} {%- endtrans %}