Skip to content

Commit 36fe6a7

Browse files
authored
Merge branch 'master' into add_funccoll_filter
2 parents b75e6f4 + aec4c1e commit 36fe6a7

15 files changed

+94
-17
lines changed

β€Žpackages/notifications-library/src/notifications_library/_models.pyβ€Ž

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ class SharerData:
3030

3131
@dataclass(frozen=True)
3232
class ProductUIData:
33-
logo_url: str
34-
strong_color: str
3533
project_alias: str
34+
logo_url: str | None = (
35+
None # default_logo = "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/refs/heads/master/services/static-webserver/client/source/resource/osparc/osparc-white.svg" in base.html
36+
)
37+
strong_color: str | None = (
38+
None # default_strong_color = "rgb(131, 0, 191)" in base.html
39+
)
3640

3741

3842
@dataclass(frozen=True)
@@ -41,5 +45,5 @@ class ProductData:
4145
display_name: str
4246
vendor_display_inline: str
4347
support_email: str
44-
homepage_url: str
48+
homepage_url: str | None # default_homepage = "https://osparc.io/" in base.html
4549
ui: ProductUIData
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% extends 'base.html' %}
2+
{% block title %} {% include 'on_account_approved.email.subject.txt' %} {% endblock %}
3+
{% block content %}
4+
<p>Dear {{ user.first_name or user.user_name }},</p>
5+
6+
<p>
7+
Thank you for your interest in {{ product.display_name }}. We are pleased to provide you with a one-time invitation link to register on the platform.
8+
</p>
9+
10+
<p>
11+
Click <a href="{{ link }}">here</a> to access the registration page.
12+
</p>
13+
14+
<p>
15+
Please follow the on-screen information and proceed with your registration. If any problem should occur, please feel free to contact us at <a href="mailto:{{ product.support_email }}">{{ product.support_email }}</a>.
16+
</p>
17+
18+
<p>Enjoy {{ product.display_name }}!</p>
19+
20+
<p>Best regards,</p>
21+
22+
<p>The {{ product.display_name }} Team</p>
23+
{% endblock %}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Dear {{ user.first_name or user.user_name }},
2+
3+
Thank you for your interest in {{ product.display_name }} . We are pleased to provide you with a one-time invitation link to register on the platform.
4+
5+
Click {{ link }} to access the registration page.
6+
7+
Please follow the on-screen information and proceed with your registration. If any problem should occur, please feel free to contact us at {{ product.support_email }}.
8+
9+
Enjoy {{ product.display_name }} !
10+
11+
Best regards,
12+
13+
The {{ product.display_name }} Team
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Your Registration Request for {{ product.display_name }} Has Been Accepted

β€Žpackages/notifications-library/src/notifications_library/templates/on_account_form.email.subject.txtβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{% extends 'base.html' %}
2+
{% block title %} {% include 'on_account_rejected.email.subject.txt' %} {% endblock %}
3+
{% block content %}
4+
<p>Dear {{ user.first_name or user.user_name }},</p>
5+
6+
<p>
7+
Thank you for your interest in {{ product.display_name }}. Unfortunately, your registration is not eligible for participation in this program.
8+
</p>
9+
10+
<p>
11+
In case of further interest in this or other solutions we might offer, please contact us at <a href="mailto:{{ product.support_email }}">{{ product.support_email }}</a>.
12+
</p>
13+
14+
<p>Best regards,</p>
15+
16+
<p>The {{ product.display_name }} Team</p>
17+
{% endblock %}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Dear {{ user.first_name or user.user_name }},
2+
3+
Thank you for your interest in {{ product.display_name }}. Unfortunately, your registration is not eligible for participation in this program.
4+
5+
In case of further interest in this or other solutions we might offer, please check contact us at {{ product.support_email }}.
6+
7+
Best regards,
8+
The {{ product.display_name }} Team
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Your Registration Request for {{ product.display_name }} Has Been Denied
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends 'base.html' %}
2-
{% block title %} {% include 'on_account_form.email.subject.txt' %} {% endblock %}
2+
{% block title %} {% include 'on_account_requested.email.subject.txt' %} {% endblock %}
33
{% block content %}
44
<p>Dear Support team
55

0 commit comments

Comments
Β (0)