Work on Reset Password (incl style fix)
This commit is contained in:
+1
-1
@@ -1492,7 +1492,7 @@ namespace Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You're resetting a user password. This user will receive a reset link by mail, which they can click to reset their Swarmops password.<br/><br/><strong>Never do this unless specifically asked for assistance with this by the user.</strong><br/><br/>Proceed with password reset procedure?.
|
||||
/// Looks up a localized string similar to You're resetting a user password. This user will receive a reset link by mail, which they can follow to reset their Swarmops password.<br/><br/><strong>Never do this unless specifically asked for assistance with this by the user.</strong><br/><br/>Proceed with password reset procedure?.
|
||||
/// </summary>
|
||||
internal static string Master_EditPersonResetPasswordConfirm_Text {
|
||||
get {
|
||||
|
||||
@@ -763,7 +763,7 @@
|
||||
<value>Reset User Password?</value>
|
||||
</data>
|
||||
<data name="Master_EditPersonResetPasswordConfirm_Text" xml:space="preserve">
|
||||
<value>You're resetting a user password. This user will receive a reset link by mail, which they can click to reset their Swarmops password.<br/><br/><strong>Never do this unless specifically asked for assistance with this by the user.</strong><br/><br/>Proceed with password reset procedure?</value>
|
||||
<value>You're resetting a user password. This user will receive a reset link by mail, which they can follow to reset their Swarmops password.<br/><br/><strong>Never do this unless specifically asked for assistance with this by the user.</strong><br/><br/>Proceed with password reset procedure?</value>
|
||||
</data>
|
||||
<data name="Master_EditPersonResetPasswordProhibited_Header" xml:space="preserve">
|
||||
<value>Password Reset Prohibited</value>
|
||||
|
||||
@@ -465,8 +465,14 @@
|
||||
}
|
||||
});
|
||||
|
||||
alertify.confirm('<strong>' + SwarmopsJS.unescape('<%=this.Localized_MasterPersonEditResetPasswordConfirm_Header%>') + '</strong><br/><br/>' + SwarmopsJS.unescape('<%=this.Localized_MasterPersonEditResetPasswordConfirm_Text%>'), function () { alert("Ding!"); }, function () { // cancel, do nothing
|
||||
});
|
||||
alertify.confirm('<strong>' + SwarmopsJS.unescape('<%=this.Localized_MasterPersonEditResetPasswordConfirm_Header%>') + '</strong><br/><br/>' + SwarmopsJS.unescape('<%=this.Localized_MasterPersonEditResetPasswordConfirm_Text%>'),
|
||||
function (response) {
|
||||
if (response) {
|
||||
alert("Success!");
|
||||
} else {
|
||||
alert("Cancel");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ namespace Swarmops.Frontend
|
||||
|
||||
public string Localized_MasterPersonEditResetPasswordConfirm_Header
|
||||
{
|
||||
get { return CommonV5.JavascriptEscape(Resources.Global.Master_EditPersonResetPasswordConfirm_Header); }
|
||||
get { return CommonV5.JavascriptEscape(Resources.Global.Master_EditPersonResetPasswordConfirm_Header.ToUpperInvariant()); }
|
||||
}
|
||||
|
||||
public string Localized_MasterPersonEditResetPasswordConfirm_Text
|
||||
@@ -443,7 +443,7 @@ namespace Swarmops.Frontend
|
||||
|
||||
public string Localized_MasterPersonEditResetPasswordProhibited_Header
|
||||
{
|
||||
get { return CommonV5.JavascriptEscape(Resources.Global.Master_EditPersonResetPasswordProhibited_Header); }
|
||||
get { return CommonV5.JavascriptEscape(Resources.Global.Master_EditPersonResetPasswordProhibited_Header.ToUpperInvariant()); }
|
||||
}
|
||||
|
||||
public string Localized_MasterPersonEditResetPasswordProhibited_Text
|
||||
|
||||
Reference in New Issue
Block a user