From 020aa20518c2180a318d04c9f4dc3630aabf5899 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Fri, 6 Jan 2017 15:16:44 +0100 Subject: [PATCH] Reversed changes that didn't turn out well --- Site/Pages/v5/Public/Signup.aspx | 40 +++++++---------------------- Site/Pages/v5/Public/Signup.aspx.cs | 6 ++--- 2 files changed, 11 insertions(+), 35 deletions(-) diff --git a/Site/Pages/v5/Public/Signup.aspx b/Site/Pages/v5/Public/Signup.aspx index a67a9e33..c7622779 100644 --- a/Site/Pages/v5/Public/Signup.aspx +++ b/Site/Pages/v5/Public/Signup.aspx @@ -65,11 +65,11 @@ } .swMain { - height: 490px !important; + height: 420px !important; } .stepContainer { - height: 450px !important; + height: 380px !important; } div.stepContainer > div.content { @@ -145,13 +145,6 @@ $('#<%=this.DropCountries.ClientID%>').width(inputWidth -14); $('#<%=this.DropGenders.ClientID%>').width(inputWidth -14); - // If payment has been disabled, cross out that step in the menu - - if (disablePayment) { - $('#wizard').smartWizard('disableStep', '6'); - $('a[rel="6"]').addClass("crossout").addClass("disabled"); - } - // Guess country SwarmopsJS.ajaxCall("/Pages/v5/Public/Signup.aspx/GuessCountry", {}, function(result) { @@ -502,9 +495,9 @@ } } else if (stepNumber == 5) { - isValid = true; // assume true, make false as we go + isValid = true; // assume true, make false as we go - if ($('input:radio[name="ActivationLevel"]:checked').val() == "RadioActivationVolunteer") { + if ($('input:radio[name="ActivationLevel"]:checked').val() == "RadioActivationVolunteer") { // if step 5 active... selectedPositions = $('#tableVolunteerPositions').datagrid('getChecked'); @@ -517,11 +510,8 @@ $('a[rel="5"]').addClass("disabled").addClass("crossout"); selectedPositions = {}; } - } - else if (stepNumber == 6) { - // TODO: Payment functions - isValid = true; - } else if (stepNumber == 7) { + + } else if (stepNumber == 6) { // This will never trigger in the stock signup - Finish doesn't trigger Validate } @@ -569,8 +559,6 @@ var suppressChecks = false; var selectedPositions = {}; - var disablePayment = true; // TODO: Set this dynamically once membership payment is complete - @@ -633,13 +621,6 @@
- -
  • - - -
    - -
  • @@ -712,15 +693,12 @@

    -
    -
    -
    -
    -
    +
    +

    This is the organization-specific text shown for Signup Finalization. It is set in Admin / Org Settings. When the new person presses Finish, they will be entered into the organization, logged on, and sent to the Dashboard as a Beginner user.

    - +
    diff --git a/Site/Pages/v5/Public/Signup.aspx.cs b/Site/Pages/v5/Public/Signup.aspx.cs index 359e0f06..a2894c7c 100644 --- a/Site/Pages/v5/Public/Signup.aspx.cs +++ b/Site/Pages/v5/Public/Signup.aspx.cs @@ -139,10 +139,8 @@ namespace Swarmops.Frontend.Pages.Public this.LabelStep4Text.Text = Resources.Pages.Public.Signup_Step4Text; this.LabelStep5Header.Text = Resources.Pages.Public.Signup_Step5Header; this.LabelStep5Text.Text = Resources.Pages.Public.Signup_Step5Text; - this.LabelStep6Header.Text = Resources.Pages.Public.Signup_Step6Header_Payment; - this.LabelStep6Text.Text = Resources.Pages.Public.Signup_Step6Text_Payment; - this.LabelStep7Header.Text = Resources.Pages.Public.Signup_Step6Header; - this.LabelStep7Text.Text = Resources.Pages.Public.Signup_Step6Text; + this.LabelStep6Header.Text = Resources.Pages.Public.Signup_Step6Header; + this.LabelStep6Text.Text = Resources.Pages.Public.Signup_Step6Text; this.LabelName.Text = Resources.Pages.Public.Signup_YourName; this.LabelCountry.Text = Resources.Global.Global_Country;