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

Feature/171-fix-email #177

Merged
merged 6 commits into from
Apr 17, 2024
Merged

Feature/171-fix-email #177

merged 6 commits into from
Apr 17, 2024

Conversation

manortbla
Copy link
Contributor

In this pr we have made the redirection to the frontend login when you access the activation email link.
For the translation of the email sent automatically by djoser, I have made changes, such as creating my own template to translate the message but only the last 2 lines of the email have been translated. I would like to know if you can think of something about how to do it (I have not found it) or if we leave that part of the issue(#171 ), since the gmail itself comes with a built-in translation tool.

I await your comments.

@manortbla manortbla added the bug Something isn't working label Apr 13, 2024
@manortbla manortbla self-assigned this Apr 13, 2024
@manortbla manortbla linked an issue Apr 13, 2024 that may be closed by this pull request
Copy link
Contributor

@auroranavas auroranavas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your implementation. However, there seems to be a problem. In the PR description, you say that only the last two lines of the email are translated, but this is the email I get:

image

You say you made a template, but in the commit called "bug" you removed it. I saw that you can customize the email template in this tutorial. From 1:10:00 to 1:19:30. I know it's in Hindi 🤣, but I think it's "followable".

Also, about the second point in issue #171. It says Write in the HTML of the activation the next steps after activating the account (URL to the frontend login using username and password...). What it means is that in the HTML page, the mail took you before (the one that said that your account had been activated), you were supposed to write what was the next step for the user to access their new account. For example, it should say something like: Tu cuenta ha sido activada. Para usarla vaya a (link página frontend) y loguese con su correo y contraseña. However, I think your approach is actually better 👍.

@manortbla
Copy link
Contributor Author

Since I didn't get the whole email translated, I decided to delete the changes I made since some of them were made in the settings.py. As well as the template that as I could not use it I also ended up deleting it. I will take a look at the video and apply the feedback for the activation screen.
Thanks for the feedback @auroranavas

Copy link
Contributor

@auroranavas auroranavas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good news! I'm glad the tutorial helped this issue. Congrats!

@auroranavas auroranavas merged commit c279c4b into develop Apr 17, 2024
1 check passed
@auroranavas auroranavas deleted the feature/171-fix-email branch April 17, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix email
3 participants