From e6da6a199f627fbe4237bba5df034273948abf77 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 18 May 2015 14:27:18 +0200 Subject: [PATCH] Checkpoint commit - some things still to do on Signup --- Site5/App_GlobalResources/Pages.Public.resx | 2 +- Site5/Pages/v5/Public/Json-SignupVolunteerPositions.aspx.cs | 4 ++-- Site5/Pages/v5/Public/Signup.aspx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Site5/App_GlobalResources/Pages.Public.resx b/Site5/App_GlobalResources/Pages.Public.resx index b7223b1a..e5c8c87b 100644 --- a/Site5/App_GlobalResources/Pages.Public.resx +++ b/Site5/App_GlobalResources/Pages.Public.resx @@ -232,7 +232,7 @@ What position are you interested in? - Highest Geography + Highest Geography Available Position diff --git a/Site5/Pages/v5/Public/Json-SignupVolunteerPositions.aspx.cs b/Site5/Pages/v5/Public/Json-SignupVolunteerPositions.aspx.cs index 4816c7c8..5a70962e 100644 --- a/Site5/Pages/v5/Public/Json-SignupVolunteerPositions.aspx.cs +++ b/Site5/Pages/v5/Public/Json-SignupVolunteerPositions.aspx.cs @@ -45,7 +45,7 @@ namespace Swarmops.Frontend.Pages.v5.Public { StringBuilder result = new StringBuilder (16384); - result.Append ("["); + result.Append ("{\"rows\":["); foreach (Position position in positions) { @@ -66,7 +66,7 @@ namespace Swarmops.Frontend.Pages.v5.Public result.Remove (result.Length - 1, 1); // remove last comma } - result.Append ("]"); + result.Append ("]}"); return result.ToString(); } diff --git a/Site5/Pages/v5/Public/Signup.aspx b/Site5/Pages/v5/Public/Signup.aspx index 970770c8..17692693 100644 --- a/Site5/Pages/v5/Public/Signup.aspx +++ b/Site5/Pages/v5/Public/Signup.aspx @@ -580,12 +580,12 @@

- - +