From 5384bd2f2fc9767dc2181fa225d7252207d0b250 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Thu, 9 May 2013 11:10:35 -0400 Subject: [PATCH] clarify switch between price set and manual membership --- templates/CRM/Member/Form/Membership.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Member/Form/Membership.tpl b/templates/CRM/Member/Form/Membership.tpl index 85ad40ccd1..b2c1989a58 100644 --- a/templates/CRM/Member/Form/Membership.tpl +++ b/templates/CRM/Member/Form/Membership.tpl @@ -106,7 +106,7 @@ {/if} {/if} {if $member_is_test} {ts}(test){/ts}{/if}
- {ts}Select Membership Organization and then Membership Type.{/ts} + {ts}Select Membership Organization and then Membership Type.{/ts}{if $hasPriceSets} {ts}Alternatively, you can use a price set.{/ts}{/if} @@ -629,6 +629,8 @@ // show/hide price set amount and total amount. cj( "#mem_type_id").show( ); + var choose = "{/literal}{ts}Choose price set{/ts}{literal}"; + cj("#price_set_id option[value='']").html( choose ); cj( "#totalAmountORPriceSet" ).show( ); cj('#total_amount').removeAttr("readonly"); cj( "#num_terms_row").show( ); @@ -658,6 +660,8 @@ cj( "#totalAmountORPriceSet" ).hide( ); cj( "#mem_type_id" ).hide( ); + var manual = "{/literal}{ts}Manual membership and price{/ts}{literal}"; + cj("#price_set_id option[value='']").html( manual ); cj( "#num_terms_row" ).hide( ); cj(".crm-membership-form-block-financial_type_id-mode").hide(); } -- 2.25.1