Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

portico: Replace the word "logo" with "icon" for communities directory.

Prakhar Pratyush682da104b28e
diff --git a/corporate/views/portico.py b/corporate/views/portico.py
index 2e75949ba8f..384450a8bb0 100644
--- a/corporate/views/portico.py
+++ b/corporate/views/portico.py
@@ -359,7 +359,7 @@ def communities_view(request: HttpRequest) -> HttpResponse:
{
"name": realm.name,
"realm_url": realm.url,
- "logo_url": get_realm_icon_url(realm),
+ "icon_url": get_realm_icon_url(realm),
"description": get_realm_text_description(realm),
"org_type_key": org_type,
}
diff --git a/templates/corporate/communities.html b/templates/corporate/communities.html
index 092507d2434..71bce27bba6 100644
--- a/templates/corporate/communities.html
+++ b/templates/corporate/communities.html
@@ -62,7 +62,7 @@
<div class="eligible_realms">
{% for eligible_realm in eligible_realms %}
<a class="eligible_realm" data-org-type="{{ eligible_realm.org_type_key }}" href="{{ eligible_realm.realm_url }}" rel="nofollow">
- <img class="eligible_realm_logo" src="{{ eligible_realm.logo_url }}" alt="{{ eligible_realm.name }} logo"/>
+ <img class="eligible_realm_icon" src="{{ eligible_realm.icon_url }}" alt="{{ eligible_realm.name }} icon"/>
<div class="eligible_realm_details">
<h3 class="eligible_realm_name">{{ eligible_realm.name }}</h3>
<h4 class="eligible_realm_description">
diff --git a/web/styles/portico/integrations.css b/web/styles/portico/integrations.css
index e5f32c8a6d6..f46b87ed9f7 100644
--- a/web/styles/portico/integrations.css
+++ b/web/styles/portico/integrations.css
@@ -860,7 +860,7 @@ html:has(.portico-landing.integrations) {
border-color: var(--color-integrations-card-border-hover);
}
- .eligible_realm_logo {
+ .eligible_realm_icon {
display: flex;
margin-right: 20px;
width: 60px;