Skip to content

Commit 7bf0043

Browse files
committed
extend ProductData model
1 parent 7e29b7e commit 7bf0043

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/notifications-library/src/notifications_library/_models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ class ProductData:
1919
display_name: str
2020
vendor_display_inline: str
2121
support_email: str
22+
product_logo: str = "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/refs/heads/master/services/static-webserver/client/source/resource/osparc/osparc-black.svg"
23+
product_homepage: str = "https://osparc.io/"

packages/notifications-library/src/notifications_library/templates/on_new_invitation.email.content.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
<p>The <i>{{ product.display_name }}</i> Team</p>
1212
{% endblock %}
1313

14-
{% set logo_src = 'https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/refs/heads/master/services/static-webserver/client/source/resource/osparc/osparc-black.svg' %}
15-
{% set product.homepage = 'https://example.com' %}
16-
{% set product.support_email = '[email protected]' %}
14+
{% set logo_src = 'product.product_logo' %}
15+
{% set product.homepage = 'product.product_homepage' %}
16+
{% set product.support_email = 'product.support_email' %}

0 commit comments

Comments
 (0)