Know Your Madisonian: IT director works behind the scenes to keep city running smoothly

Advertisement

BEGIN ARTICLE PREVIEW:

×

You have run out of free articles. You can support our newsroom by joining at our lowest rate!

Loading&hellp;

{{start_at_rate}}

{{format_dollars}}
{{start_price}}
{{format_cents}}

{{promotional_format_dollars}}{{promotional_price}}{{promotional_format_cents}} {{term}}

{{html}}

{{action_button}}

‘);
$(‘.lee-featured-subscription’).html(sFallBack);
}

function lee_formatPackage(oService){
try {
var bOnlyModal = true;
var oSettings = lee_getPackageSettings(oService.HomeMembership);
var newService = {};
if(parseInt(oService.WebFeatureFG) === 2) return false;
if(oService.WebStartPrice != ”){
var custom = JSON.parse(oService.WebStartPrice);
$.each(custom, function(k,v){
newService[k] = v;
});
}
if(bOnlyModal && newService.in_modal === ‘false’) return false;
if(!bOnlyModal && newService.not_members === ‘true’) return false;

newService.sort = parseInt((newService.sort) ? newService.sort : oSettings.sort);
newService.title = oSettings.title;
newService.level = oService.HomeMembership;
newService.html = oService.WebOfferHTML;
newService.disabled = newService.disable_purchase ? ‘disabled’ : ”;

var price = lee_formatPackagePrice(newService.start_price);
newService.start_price = price.cost;
newService.format_dollars = (price.format_dollars) ? price.format_dollars : ”;
newService.format_cents = (price.format_cents) ? price.format_cents : ”;
newService.start_at_rate = (newService.fixed_rate === ‘true’) ? ‘for the low price of’ : ‘starting at’;

if( !newService.term ) newService.term = ‘per month’;

if( newService.promotional_price && newService.promotional_price != ” ){
newService.has_promotion_class = ‘has-promotion’;
var promotion = …

END ARTICLE PREVIEW

READ MORE FROM SOURCE ARTICLE