From a3c5386ada92813c5044976da789c54be1e1f883 Mon Sep 17 00:00:00 2001 From: phriscage Date: Tue, 4 Dec 2018 14:03:19 -0800 Subject: [PATCH] added Apigee Client ID placeholder and logic if value is empty --- src/frontend/templates/config.html | 2 +- src/frontend/templates/footer.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontend/templates/config.html b/src/frontend/templates/config.html index b9bff9c..1f34646 100644 --- a/src/frontend/templates/config.html +++ b/src/frontend/templates/config.html @@ -12,7 +12,7 @@
Apigee Client ID:
- +

diff --git a/src/frontend/templates/footer.html b/src/frontend/templates/footer.html index 6998f31..ccd69cd 100644 --- a/src/frontend/templates/footer.html +++ b/src/frontend/templates/footer.html @@ -16,7 +16,8 @@ {{ if $.session_id }}session-id: {{ $.session_id }}
{{end}} {{ if $.request_id }}request-id: {{ $.request_id }}
{{end}} - {{ if $.apigee_client_id }}apigee-client-id: {{ $.apigee_client_id }}
{{end}} + {{ if $.apigee_client_id }}apigee-client-id: {{ $.apigee_client_id }}
+ {{ else }}apigee-client-id: {{ $.apigee_client_id_placeholder }}
{{end}}