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

Add UI for email proxy settings #11274

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Add UI for email proxy settings #11274

merged 1 commit into from
Mar 10, 2022

Conversation

hishamco
Copy link
Member

@hishamco hishamco commented Feb 27, 2022

No description provided.

@hishamco hishamco mentioned this pull request Feb 27, 2022
@hishamco hishamco marked this pull request as ready for review February 27, 2022 16:46
@hishamco
Copy link
Member Author

Screenshot 2022-02-27 194737

@hishamco
Copy link
Member Author

We could add a toggle checkbox to display proxy settings, but I find it's useful to put them underneath the server host / port

@hishamco hishamco requested a review from Skrypt February 27, 2022 16:49
<div id="@Html.Id("SelectEncryptionMethod")" class="form-group" asp-validation-class-for="EncryptionMethod">
<label asp-for="EncryptionMethod">@T["Encryption method to use"]</label>
<select asp-for="EncryptionMethod" class="form-control" disabled="@Model.AutoSelectEncryption">
<option value="@SmtpEncryptionMethod.None" selected="@(SmtpEncryptionMethod.None == Model.EncryptionMethod ? true : false)">
Copy link
Member

Choose a reason for hiding this comment

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

I think razor is clever enough to just use selected="@(SmtpEncryptionMethod.None == Model.EncryptionMethod)"

Copy link
Member

Choose a reason for hiding this comment

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

Saw that it was not part of the PR

Copy link
Member Author

Choose a reason for hiding this comment

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

You Right, seems we need to change in many places

Copy link
Member Author

Choose a reason for hiding this comment

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

Seb can we merge this, then I can look for the places that may need to change

@sebastienros sebastienros merged commit 26b9d4c into main Mar 10, 2022
@sebastienros sebastienros deleted the smtp-ui branch March 10, 2022 18:06
@agriffard
Copy link
Member

Crowdin Translations updated to include those added by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants