From 10bfcb83a0bb2615fb2cebc5e5470c058293c848 Mon Sep 17 00:00:00 2001
From: zubair-arbi
Date: Tue, 14 Jul 2015 18:01:06 +0500
Subject: [PATCH] add url link for credit checkout page ECOM-1524
---
lms/envs/devstack.py | 3 +++
lms/templates/dashboard/_dashboard_credit_info.html | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lms/envs/devstack.py b/lms/envs/devstack.py
index baf266513f..39dfc584a2 100644
--- a/lms/envs/devstack.py
+++ b/lms/envs/devstack.py
@@ -181,6 +181,9 @@ FEATURES['ENABLE_COSMETIC_DISPLAY_PRICE'] = True
if FEATURES.get('ENABLE_THIRD_PARTY_AUTH') and 'third_party_auth.dummy.DummyBackend' not in AUTHENTICATION_BACKENDS:
AUTHENTICATION_BACKENDS = ['third_party_auth.dummy.DummyBackend'] + list(AUTHENTICATION_BACKENDS)
+############## ECOMMERCE API CONFIGURATION SETTINGS ###############
+ECOMMERCE_PUBLIC_URL_ROOT = "http://localhost:8002"
+
#####################################################################
# See if the developer has any local overrides.
try:
diff --git a/lms/templates/dashboard/_dashboard_credit_info.html b/lms/templates/dashboard/_dashboard_credit_info.html
index 371efd1596..124116886a 100644
--- a/lms/templates/dashboard/_dashboard_credit_info.html
+++ b/lms/templates/dashboard/_dashboard_credit_info.html
@@ -25,8 +25,7 @@
% endif
% elif credit_status["request_status"] in [None, "pending"] and not credit_status["error"] :
% if credit_status["request_status"] == "pending":