SendMassMessage good enough for a mockup

This commit is contained in:
Rick Falkvinge
2014-10-04 23:19:13 +02:00
parent ba5b6b0499
commit a7784a71c0
5 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -358,7 +358,7 @@
<value>Add Member</value>
</data>
<data name="Menu5_People_ListFind" xml:space="preserve">
<value>List/Find [Regulars]</value>
<value>List/Find People</value>
</data>
<data name="Menu5_People_ListMembers" xml:space="preserve">
<value>List Members</value>
+4 -2
View File
@@ -137,13 +137,15 @@
<value>Send a mass message to all</value>
</data>
<data name="SendMassMessage_SendMessage" xml:space="preserve">
<value>Send Message</value>
<value>Send</value>
<comment>Keep SHORT - it's a small button. 6-7 letters max</comment>
</data>
<data name="SendMassMessage_SendMessageResult" xml:space="preserve">
<value>Your message is now being distributed to recipients. You will be notified when transmission is complete.</value>
</data>
<data name="SendMassMessage_TestMessage" xml:space="preserve">
<value>Test Message</value>
<value>Test</value>
<comment>Keep SHORT- it's a small button. 6-7 letters max</comment>
</data>
<data name="SendMassMessage_TestMessageResult" xml:space="preserve">
<value>The message has been sent to you, so you can see what it looks like before going live.</value>
+1 -1
View File
@@ -90,7 +90,7 @@
<ResourceKey>Communications_SendMassMessage</ResourceKey>
<UserLevel>2</UserLevel>
<Permissions />
<ImageUrl />
<ImageUrl>iconshock-messages</ImageUrl>
<NavigateUrl>/Pages/v5/Comms/SendMassMessage.aspx</NavigateUrl>
<Type>Link</Type>
<Children />
@@ -10,6 +10,10 @@
$(document).ready(function () {
// Document.Ready() goes here
$('#<%=this.DropRecipientClasses.ClientID%>').change (function() {
onGeographyChange(selectedGeographyId); // does the same thing anyway
})
});
var selectedReceipientClass = 1;
@@ -26,6 +30,7 @@
$('#spanRecipientCount').text(msg.d);
}
});
selectedGeographyId = newGeographyId;
}
</script>
+3 -3
View File
@@ -19,7 +19,9 @@ namespace Swarmops.Frontend.Pages.Comms
{
protected void Page_Load(object sender, EventArgs e)
{
this.PageIcon = "iconshock-group-search";
this.PageIcon = "iconshock-messages";
this.PageTitle = Resources.Pages.Comms.SendMassMessage_Title;
this.InfoBoxLiteral = Resources.Pages.Comms.SendMassMessage_Info;
if (!Page.IsPostBack)
{
@@ -32,8 +34,6 @@ namespace Swarmops.Frontend.Pages.Comms
private void Localize()
{
this.PageTitle = Resources.Pages.Comms.SendMassMessage_Title;
this.InfoBoxLiteral = Resources.Pages.People.ListFindPeople_Info;
this.LabelGeography.Text = Resources.Pages.Comms.SendMassMessage_Geography;
this.LabelRecipientType.Text = Resources.Pages.Comms.SendMassMessage_RecipientType;
this.LabelHeaderMessage.Text = Resources.Pages.Comms.SendMassMessage_HeaderMessage;