5050 < h4 > Features in this package</ h4 >
5151 < ul id ="features ">
5252 < li data-product ="premium "> All features from Community edition</ li >
53- < li data-product ="premium "> DbGate desktop application</ li >
53+ < li data-product ="premium "> DbGate desktop application (Windows, Linux, Mac) </ li >
5454 < li data-product ="premium "> Query designer</ li >
5555 < li data-product ="premium "> Compare database models</ li >
5656 < li data-product ="premium "> Table perspectives</ li >
5757 < li data-product ="premium "> Access to cloud databases - Amazon RDS, Redshift, Azore CosmosDB</ li >
5858 < li data-product ="premium "> E-mail support</ li >
5959
6060 < li data-product ="team-premium "> All features from Community edition</ li >
61- < li data-product ="team-premium "> DbGate web and desktop applications</ li >
61+ < li data-product ="team-premium "> DbGate desktop application (Windows, Linux, Mac)</ li >
62+ < li data-product ="team-premium "> DbGate web application (Docker or NPM distribution)</ li >
63+ < li data-product ="team-premium "> From 2 users</ li >
6264 < li data-product ="team-premium "> Query designer</ li >
6365 < li data-product ="team-premium "> Compare database models</ li >
6466 < li data-product ="team-premium "> Table perspectives</ li >
@@ -71,11 +73,15 @@ <h4>Features in this package</h4>
7173</ div >
7274
7375< script >
74- function initialize ( ) {
75- const product = document . location . pathname
76+ function getProduct ( ) {
77+ return document . location . pathname
7678 . split ( "/" )
7779 . filter ( ( x ) => x )
7880 . slice ( - 1 ) ?. [ 0 ] ;
81+ }
82+
83+ function initialize ( ) {
84+ const product = getProduct ( ) ;
7985
8086 const subscriptionElement = document . getElementById ( "subscription" ) ;
8187 const options = subscriptionElement . options ;
@@ -90,6 +96,10 @@ <h4>Features in this package</h4>
9096 featuresElement . children [ i ] . style . display = "none" ;
9197 }
9298 }
99+
100+ if ( product === "team-premium" ) {
101+ document . getElementById ( "users" ) . value = 2 ;
102+ }
93103 }
94104
95105 async function sendForm ( ) {
@@ -111,10 +121,7 @@ <h4>Features in this package</h4>
111121 var users = document . getElementById ( "users" ) . value ;
112122 var subscription = document . getElementById ( "subscription" ) . value ;
113123
114- const product = document . location . pathname
115- . split ( "/" )
116- . filter ( ( x ) => x )
117- . slice ( - 1 ) ?. [ 0 ] ;
124+ const product = getProduct ( ) ;
118125
119126 var data = {
120127 email : email ,
0 commit comments