Minor bugfixes to Signup

This commit is contained in:
Rick Falkvinge
2015-05-20 16:14:42 +02:00
parent fa9a26c89d
commit cad8240e98
5 changed files with 7 additions and 4 deletions
@@ -402,7 +402,7 @@ namespace Swarmops.Logic.Resources {
}
/// <summary>
/// Looks up a localized string similar to A new person has signed up as [RegularTitle] in [OrganizationName]! They are based in [GeographyName]..
/// Looks up a localized string similar to A new person has signed up as [RegularTitle] in [OrganizationName]! [ConcernedPersonName] is based in [GeographyName], [CountryCode]..
/// </summary>
internal static string Participant_Signup_Body {
get {
@@ -258,7 +258,7 @@ Time spent transmitting: [TransmissionTime].</value>
<value>[[OrganizationName]] Comms transmitted: [GeographyName]</value>
</data>
<data name="Participant_Signup_Body" xml:space="preserve">
<value>A new person has signed up as [RegularTitle] in [OrganizationName]! They are based in [GeographyName].</value>
<value>A new person has signed up as [RegularTitle] in [OrganizationName]! [ConcernedPersonName] is based in [GeographyName], [CountryCode].</value>
</data>
<data name="Participant_Signup_Subject" xml:space="preserve">
<value>[[OrganizationName]] New [RegularTitle]: [ConcernedPersonName], [GeographyName]</value>
@@ -10,6 +10,9 @@ namespace Swarmops.Logic.Support.LogEntries
[Serializable]
public class VolunteerForPositionLogEntry: PositionActionBase
{
[Obsolete("Do not use the parameterless ctor. It is intended for serialization only.", true)]
public VolunteerForPositionLogEntry() {}
public VolunteerForPositionLogEntry (Person person, Position position)
{
this.ActingPersonId = this.ConcernedPersonId = person.Identity;
+1 -1
View File
@@ -148,7 +148,7 @@
<data name="Signup_DashboardMessage" xml:space="preserve">
<value>Welcome! This is the &lt;em&gt;Dashboard,&lt;/em&gt; where you can access internal functionality of {0}. You will get more information in mail shortly.&lt;br/&gt;&lt;br/&gt;
If you volunteered for taking formal responsibility, somebody (probably also a volunteer, like yourself) will contact you to discuss more about the opportunities.</value>
If you volunteered for taking formal responsibility, somebody (probably also a volunteer, like yourself) will contact you to discuss more about the opportunities available.</value>
</data>
<data name="Signup_Error_MailExists" xml:space="preserve">
<value>You have already signed up to this Swarmops server. Please use the Reset Password function from the login screen instead of creating a new account.</value>
+1 -1
View File
@@ -297,7 +297,7 @@
dataType: "json",
async: false, // blocks until function returns - race conditions otherwise
success: function(msg) {
if (msg.d != true) {
if (msg.d.Success != true) {
isValid = false;
$('#<%= this.TextMail.ClientID %>').addClass("entryError");
alertify.error("<asp:Literal runat="server" ID="LiteralErrorMailExists" />");