From 3fc62b71087e4ed269416d85a15a3f81ca79402b Mon Sep 17 00:00:00 2001 From: hongwei Date: Tue, 31 Mar 2020 20:50:32 +0200 Subject: [PATCH 1/7] code clean --- .../methodrouting/static/methodrouting/js/methodrouting.js | 1 - apimanager/users/views.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apimanager/methodrouting/static/methodrouting/js/methodrouting.js b/apimanager/methodrouting/static/methodrouting/js/methodrouting.js index 1802975..77ef80b 100644 --- a/apimanager/methodrouting/static/methodrouting/js/methodrouting.js +++ b/apimanager/methodrouting/static/methodrouting/js/methodrouting.js @@ -36,7 +36,6 @@ $(document).ready(function($) { var jsoneditor_id= $(runner).find('.jsoneditor_div')[0].id var json_editor_number = jsoneditor_id.replace("jsoneditor","") parameters_Json_editor = JSON.stringify(json_editors[json_editor_number].get()); - console.log("parameters_Json_editor:"+parameters_Json_editor) $('.runner button.forSave').attr("disabled","disabled"); $('.runner button.forDelete').attr("disabled","disabled"); $.post('methodrouting/save/method', { diff --git a/apimanager/users/views.py b/apimanager/users/views.py index 5ef9031..394efb8 100644 --- a/apimanager/users/views.py +++ b/apimanager/users/views.py @@ -58,7 +58,7 @@ class IndexView(LoginRequiredMixin, TemplateView): entitlements = api.get(urlpath) if 'code' in entitlements and entitlements['code'] >= 400: messages.error(self.request, entitlements['message'] + - " No Role name will be shown in the 'Filters' dropdown!") + ". No Role name will be shown in the 'Filters' dropdown!") else: for entitlement in entitlements['list']: role_names.append(entitlement['role_name']) From 516f1f36f2da715470975f9569c516bd17f14e45 Mon Sep 17 00:00:00 2001 From: hongwei Date: Tue, 31 Mar 2020 22:25:40 +0200 Subject: [PATCH 2/7] added the sub title for Dynamic Endpoints and Method Routings --- .../dynamicendpoints/templates/dynamicendpoints/index.html | 2 +- apimanager/methodrouting/templates/methodrouting/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apimanager/dynamicendpoints/templates/dynamicendpoints/index.html b/apimanager/dynamicendpoints/templates/dynamicendpoints/index.html index a7b8a6c..e9b1447 100644 --- a/apimanager/dynamicendpoints/templates/dynamicendpoints/index.html +++ b/apimanager/dynamicendpoints/templates/dynamicendpoints/index.html @@ -1,6 +1,6 @@ {% extends 'base.html' %} {% load static %} -{% block page_title %}{{ block.super }} / Users{% endblock page_title %} +{% block page_title %}{{ block.super }} / Dynamic Endpoints{% endblock page_title %} {% block content %}

Dynamic Endpoints

diff --git a/apimanager/methodrouting/templates/methodrouting/index.html b/apimanager/methodrouting/templates/methodrouting/index.html index e7c4d10..292f081 100644 --- a/apimanager/methodrouting/templates/methodrouting/index.html +++ b/apimanager/methodrouting/templates/methodrouting/index.html @@ -1,6 +1,6 @@ {% extends 'base.html' %} {% load static %} -{% block page_title %}{{ block.super }} / Users{% endblock page_title %} +{% block page_title %}{{ block.super }} / Method Routings{% endblock page_title %} {% block content %}

Method Routing

From ea5477b8ef5890daec642ec2caf36157266418e7 Mon Sep 17 00:00:00 2001 From: hongwei Date: Tue, 31 Mar 2020 22:46:38 +0200 Subject: [PATCH 3/7] update the date to 2020 --- apimanager/base/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apimanager/base/templates/base.html b/apimanager/base/templates/base.html index fa80ed1..673dfff 100644 --- a/apimanager/base/templates/base.html +++ b/apimanager/base/templates/base.html @@ -114,7 +114,7 @@ API ROOT: {{ API_ROOT }} | Open Bank Project | Powered by TESOBE | - Copyright © 2016 - 2017 + Copyright © 2016 - 2020

From 6d5c56a04728b26282bb3e724ece9969f2c28086 Mon Sep 17 00:00:00 2001 From: hongwei Date: Wed, 1 Apr 2020 12:42:21 +0200 Subject: [PATCH 4/7] used the
diff --git a/apimanager/methodrouting/templates/methodrouting/index.html b/apimanager/methodrouting/templates/methodrouting/index.html index 292f081..0dff49e 100644 --- a/apimanager/methodrouting/templates/methodrouting/index.html +++ b/apimanager/methodrouting/templates/methodrouting/index.html @@ -31,7 +31,8 @@
#} +
{{ method_routing.method_name }}