From bfca26158a44fc846484d52b6cac5f815a71a38c Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 8 Mar 2018 14:51:26 +0100 Subject: [PATCH] Adding Applicants to mass messaging --- Site/Pages/v5/Comms/SendMassMessage.aspx.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Site/Pages/v5/Comms/SendMassMessage.aspx.cs b/Site/Pages/v5/Comms/SendMassMessage.aspx.cs index 7510dcd8..a3b0f79e 100644 --- a/Site/Pages/v5/Comms/SendMassMessage.aspx.cs +++ b/Site/Pages/v5/Comms/SendMassMessage.aspx.cs @@ -41,8 +41,9 @@ namespace Swarmops.Frontend.Pages.Comms this.LabelSubject.Text = Resources.Pages.Comms.SendMassMessage_Subject; this.DropRecipientClasses.Items.Clear(); - this.DropRecipientClasses.Items.Add (new ListItem (Participant.Localized(CurrentOrganization.RegularLabel, TitleVariant.Plural), "1")); - this.DropRecipientClasses.Items.Add (new ListItem (Participant.Localized(CurrentOrganization.ActivistLabel, TitleVariant.Plural), "2")); + this.DropRecipientClasses.Items.Add(new ListItem(Participant.Localized(CurrentOrganization.ApplicantLabel, TitleVariant.Plural), "1")); + this.DropRecipientClasses.Items.Add(new ListItem(Participant.Localized(CurrentOrganization.RegularLabel, TitleVariant.Plural), "2")); + this.DropRecipientClasses.Items.Add (new ListItem (Participant.Localized(CurrentOrganization.ActivistLabel, TitleVariant.Plural), "3")); // TODO: Room for dynamic membership types here this.DropRecipientClasses.Items.Add (new ListItem (Global.Global_Officer_Plural, "101")); this.DropRecipientClasses.Items.Add (new ListItem (Global.Global_Volunteer_Plural, "102")); @@ -67,10 +68,13 @@ namespace Swarmops.Frontend.Pages.Comms case 0: // "Select one" personCount = 0; break; - case 1: // Regulars + case 1: // Applicants + personCount = 1; // todo + break; + case 2: // Regulars personCount = orgTree.GetMemberCountForGeographies (geoTree); break; - case 2: // Agents + case 3: // Agents personCount = Activists.GetCountForGeography (geography); break;