Skip to content

Commit 130a9b7

Browse files
committed
product_ui -> ui
1 parent 081bbe1 commit 130a9b7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ class ProductData:
2626
vendor_display_inline: str
2727
support_email: str
2828
homepage_url: str
29-
product_ui: ProductUIData
29+
ui: ProductUIData

packages/notifications-library/src/notifications_library/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141
.strong-button {
4242
cursor: pointer;
43-
background-color: {{ product.product_ui.strong_color }};
43+
background-color: {{ product.ui.strong_color }};
4444
color: white;
4545
padding: 10px;
4646
border: none;
@@ -82,7 +82,7 @@
8282
<div class="email-container">
8383
<div class="header">
8484
<a href="{{ product.homepage_url }}" target="_blank" rel="noopener noreferrer">
85-
<img src="{{ product.product_ui.logo_url }}" alt="Logo" class="logo">
85+
<img src="{{ product.ui.logo_url }}" alt="Logo" class="logo">
8686
</a>
8787
</div>
8888

packages/notifications-library/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def product_data(
6969
vendor_display_inline=f"{vendor.get('name','')}, {vendor.get('address','')}",
7070
support_email=product["support_email"],
7171
homepage_url=vendor.get("url", "https://osparc.io/"),
72-
product_ui=product_ui,
72+
ui=product_ui,
7373
)
7474

7575

0 commit comments

Comments
 (0)