Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added specific logo for Weni Chats client id #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions themes/ilhasoft/login/login-form.ftl
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
<#macro loginLayout>
<div class="greetings">
<a href="${url.loginUrl}">
<img class="brand-title" src="${url.resourcesPath}/img/login/Weni-Logo-Blue.svg">
<#if client.clientId = "weni-chats">
<img class="brand-title" src="${url.resourcesPath}/img/login/Weni-Chats-Logo-Blue.svg">
<#else>
<img class="brand-title" src="${url.resourcesPath}/img/login/Weni-Logo-Blue.svg">
</#if>
</a>

${msg("greetings")}
<#if client.clientId = "weni-chats">
${msg("greetings_chats")}
<#else>
${msg("greetings")}
</#if>
</div>

<form id="kc-form-login" ref="kc-form-login" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
Expand Down
1 change: 1 addition & 0 deletions themes/ilhasoft/login/messages/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ benefits4=Creation of AI projects and flows
benefits5=Communication channels, including WhatsApp Official API

greetings=Welcome, Wenier!
greetings_chats=Welcome, Weni Chats!
register_greetings=Become a Wenier!

password_instructions_title=At least 8 characters, including at least one uppercase letter, one lowercase letter and one special character.
Expand Down
1 change: 1 addition & 0 deletions themes/ilhasoft/login/messages/messages_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ benefits4=Creación de proyectos y flujos de IA
benefits5=Canales de comunicación, incluida la API oficial de WhatsApp

greetings=¡Bienvenido, Wenier!
greetings_chats=¡Bienvenido, Weni Chats!
register_greetings=¡Conviértete en un Wenier!

password_instructions_title=Al menos 8 caracteres, incluyendo al menos una letra mayúscula, una letra minúscula y un carácter especial.
Expand Down
1 change: 1 addition & 0 deletions themes/ilhasoft/login/messages/messages_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ benefits4=Criação de projetos e fluxos de IA
benefits5=Canais de comunicação, incluindo WhatsApp API Oficial

greetings=Boas vindas, Wenier!
greetings_chats=Boas vindas, Weni Chats!
register_greetings=Seja um Wenier!

password_instructions_title=No mínimo 8 caracters, incluindo pelo menos uma letra maiúscula, uma letra minúscula e um caractere especial.
Expand Down
6 changes: 5 additions & 1 deletion themes/ilhasoft/login/register.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<#elseif section = "form">
<div class="greetings">
<a href="${url.loginUrl}">
<img class="brand-title" src="${url.resourcesPath}/img/login/Weni-Logo-Blue.svg">
<#if client.clientId = "weni-chats">
<img class="brand-title" src="${url.resourcesPath}/img/login/Weni-Chats-Logo-Blue.svg">
<#else>
<img class="brand-title" src="${url.resourcesPath}/img/login/Weni-Logo-Blue.svg">
</#if>
</a>

${msg("register_greetings")}
Expand Down
24 changes: 24 additions & 0 deletions themes/ilhasoft/login/resources/img/login/Weni-Chats-Logo-Blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.