-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
239 changed files
with
10,767 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
41 changes: 37 additions & 4 deletions
41
Bootstrap5/MVC/Views/AccountActivation/AccountActivation.AccountActivation.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,53 @@ | ||
@model Telerik.Sitefinity.Frontend.Identity.Mvc.Models.AccountActivation.AccountActivationViewModel | ||
|
||
@using Telerik.Sitefinity.Frontend.Mvc.Helpers | ||
@using Telerik.Sitefinity.UI.MVC; | ||
|
||
<div class="@Model.CssClass"> | ||
@if (Model.Activated) | ||
{ | ||
<div class="alert alert-success" role="alert" aria-live="assertive"> | ||
<h3>@Html.Resource("AccountActivationSuccess")</h3> | ||
|
||
<a href="@Model.ProfilePageUrl">@Html.Resource("ProfilePageUrlTitle")</a> | ||
<a href="@Model.LoginPageUrl">@Html.Resource("LoginPageUrlTitle")</a> | ||
</div> | ||
} | ||
else if (Model.AttemptedActivation) | ||
else if (Model.ExpiredActivationLink || Model.SentActivationLink) | ||
{ | ||
<div class="alert alert-danger" role="alert" aria-live="assertive"> | ||
<h3>@Html.Resource("AccountActivationFail")</h3> | ||
string heading; | ||
string message; | ||
string buttonText; | ||
|
||
if (Model.ExpiredActivationLink) | ||
{ | ||
heading = Html.Resource("ActivationLinkExpiredTitle"); | ||
message = string.Format(Html.Resource("ActivationLinkExpiredMessage"), Model.Email); | ||
buttonText = Html.Resource("SendActivationLink"); | ||
} | ||
else | ||
{ | ||
heading = Html.Resource("ActivationLinkSentTitle"); | ||
message = string.Format(Html.Resource("ActivationLinkSentMessage"), Model.Email); | ||
buttonText = Html.Resource("SendAgainActivationLink"); | ||
} | ||
using (Html.BeginFormSitefinity("SendAgainActivationLink", "AccountActivation", FormMethod.Post, new { enctype = "multipart/form-data" })) | ||
{ | ||
<h3>@heading</h3> | ||
<div class="my-3"> | ||
@message | ||
</div> | ||
|
||
<input type="hidden" name="Email" value="@Model.Email" /> | ||
<input type="hidden" name="Provider" value="@Model.Provider" /> | ||
<input type="submit" class="btn btn-primary" value="@buttonText" /> | ||
@Html.AddSitefinityAntiforgeryToken() | ||
} | ||
} | ||
else if (Model.AttemptedActivation || Model.ActivationError) | ||
{ | ||
<div class="alert alert-danger" role="alert" aria-live="assertive"> | ||
<h3>@Html.Resource("AccountActivationFailTitle")</h3> | ||
<p>@Html.Resource("AccountActivationFailMessage")</p> | ||
</div> | ||
} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Bootstrap5/MVC/Views/Profile/ConfirmationEmailSent.ProfileEdit.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@model Telerik.Sitefinity.Frontend.Identity.Mvc.Models.Profile.ProfileEmailEditViewModel | ||
|
||
@using Telerik.Sitefinity.Frontend.Identity.Mvc.Models.Profile@using Telerik.Sitefinity.Frontend.Mvc.Helpers; | ||
@using Telerik.Sitefinity.Modules.Pages | ||
@using Telerik.Sitefinity.UI.MVC; | ||
@using Telerik.Sitefinity.Utilities; | ||
@using Telerik.Sitefinity.Services; | ||
|
||
@Html.Script(ScriptRef.JQuery, "top", false) | ||
|
||
|
||
<div> | ||
<h2>@Html.Resource("ConfirmationEmailSentTitle")</h2> | ||
<p>@Html.Resource("ConfirmationEmailSentDescription") <strong>@ViewBag.Email</strong></p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.