From 899e99e2d84c9b2586cc4fa19d5243b1cc5e6bc3 Mon Sep 17 00:00:00 2001 From: Hongwei Date: Thu, 9 Mar 2023 13:43:29 +0100 Subject: [PATCH 1/2] refactor/remove local value at top of API Explorer --- src/main/scala/code/snippet/ApiExplorer.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/scala/code/snippet/ApiExplorer.scala b/src/main/scala/code/snippet/ApiExplorer.scala index 0e2edbc1..ae9894ef 100644 --- a/src/main/scala/code/snippet/ApiExplorer.scala +++ b/src/main/scala/code/snippet/ApiExplorer.scala @@ -244,11 +244,6 @@ WIP to add comments on resource docs. This code copied from Sofit. case _ => "" } - val localeHeadline : String = localeParam match { - case Full(x) => x - case _ => "" - } - val contentHeadline : String = rawContentParam match { case Full(x) => x case _ => "" @@ -834,7 +829,7 @@ WIP to add comments on resource docs. This code copied from Sofit. // Title / Headline we display including count of APIs val headline : String = s""" ${apiVersionRequested.stripPrefix("OBP").stripPrefix("BG").stripPrefix("STET").stripPrefix("UK")} - $tagsHeadline $localeHeadline $contentHeadline $implementedHereHeadline (${resources.length} APIs) + $tagsHeadline $contentHeadline $implementedHereHeadline (${resources.length} APIs) """.trim() From defa19346169a7888504a505e02ff2be1111948b Mon Sep 17 00:00:00 2001 From: Hongwei Date: Thu, 9 Mar 2023 13:56:41 +0100 Subject: [PATCH 2/2] refactor/tweaked the EN|ES position for the Language --- src/main/webapp/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index d0eddf57..6b56cce3 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -178,9 +178,9 @@