diff --git a/distil_ui/content/billing/templates/billing/index.html b/distil_ui/content/billing/templates/billing/index.html index 7f48464..8dea152 100644 --- a/distil_ui/content/billing/templates/billing/index.html +++ b/distil_ui/content/billing/templates/billing/index.html @@ -172,11 +172,11 @@ var row_class = i%2==0? 'odd':'even'; var link = "#"; if (resource_type in link_mapping){ - link = "http://127.0.0.1:9977/project" + link_mapping[resource_type] + res_cost_details[i]['resource_id']; - } - if (resource_type == 'Network'){ - link += '/detail'; - } + link = "/project" + link_mapping[resource_type] + res_cost_details[i]['resource_id']; + } + if (resource_type == 'Network'){ + link += '/detail'; + } $('#service_details tbody').append('' + res_cost_details[i]['resource_id'] + ''+res_cost_details[i]['resource']+''+res_cost_details[i]['volume']+''+res_cost_details[i]['unit']+''+res_cost_details[i]['rate']+''+res_cost_details[i]['cost']+''); }