Work on Reset Password (incl style fix)

This commit is contained in:
Rick Falkvinge
2016-10-17 22:18:20 +02:00
parent 1f4e1929a8
commit 504ff085a3
4 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -1492,7 +1492,7 @@ namespace Resources {
}
/// <summary>
/// Looks up a localized string similar to You&apos;re resetting a user password. This user will receive a reset link by mail, which they can click to reset their Swarmops password.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Never do this unless specifically asked for assistance with this by the user.&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Proceed with password reset procedure?.
/// Looks up a localized string similar to You&apos;re resetting a user password. This user will receive a reset link by mail, which they can follow to reset their Swarmops password.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Never do this unless specifically asked for assistance with this by the user.&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Proceed with password reset procedure?.
/// </summary>
internal static string Master_EditPersonResetPasswordConfirm_Text {
get {
+1 -1
View File
@@ -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.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Never do this unless specifically asked for assistance with this by the user.&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;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.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Never do this unless specifically asked for assistance with this by the user.&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Proceed with password reset procedure?</value>
</data>
<data name="Master_EditPersonResetPasswordProhibited_Header" xml:space="preserve">
<value>Password Reset Prohibited</value>
+8 -2
View File
@@ -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");
}
});
}
+2 -2
View File
@@ -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