Minor bugfixes to Signup
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
<data name="Signup_DashboardMessage" xml:space="preserve">
|
||||
<value>Welcome! This is the <em>Dashboard,</em> where you can access internal functionality of {0}. You will get more information in mail shortly.<br/><br/>
|
||||
|
||||
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>
|
||||
|
||||
@@ -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" />");
|
||||
|
||||
Reference in New Issue
Block a user