factor/tweaked mainFaq.html -> main-faq.html

This commit is contained in:
hongwei 2021-09-20 11:51:21 +02:00
parent b0ae1ca5c1
commit 282b1af7ce
4 changed files with 5 additions and 5 deletions

View File

@ -423,7 +423,7 @@ webui_sdks_url = https://github.com/OpenBankProject/OBP-API/wiki/OAuth-Client-SD
# the external html page for the FAQ section. the default link is the obp one. Please following the div to modify it. This link should be anonymous access.
# then OBP-API can show the content to the HomePage `FAQs`. Please check it over the sandbox homepage first.
#webui_main_faq_external_link = /mainFaq.html
#webui_main_faq_external_link = /main-faq.html
# Text about data in FAQ
webui_faq_data_text = We use real data and customer profiles which have been anonymized.

View File

@ -146,9 +146,9 @@ class WebUI extends MdcLoggable{
val mainFaqHtmlContent = try{
if (mainFaqHtmlLink.isEmpty)//If the webui_featured_sdks_external_link is not set, we will read the internal sdks.html file instead.
LiftRules.getResource("/mainFaq.html").map{ url =>
LiftRules.getResource("/main-faq.html").map{ url =>
Source.fromURL(url, "UTF-8").mkString
}.openOrThrowException("Please check the content of this file: src/main/webapp/mainFaq.html")
}.openOrThrowException("Please check the content of this file: src/main/webapp/main-faq.html")
else
Source.fromURL(sdksHtmlLink, "UTF-8").mkString
}catch {

View File

@ -1,4 +1,4 @@
<h2 id="technical-faqs">FAQs-xxxxx</h2>
<h2 id="technical-faqs">FAQs</h2>
<div class="row">
<div class="col-xs-12 col-sm-6 main-faq-left" onclick="mouseClickMainMaq(this)">

View File

@ -3,7 +3,7 @@
### Most recent changes at top of file
```
Date Commit Action
17/09/2021 e65cd51d Added props: webui_main_faq_external_link, default is obp static file: /mainFaq.html
17/09/2021 e65cd51d Added props: webui_main_faq_external_link, default is obp static file: /main-faq.html
09/09/2021 65952225 Added props: webui_support_email, default is contact@openbankproject.com
02/09/2021 a826d908 Renamed Web UI props:
webui_post_user_invitation_privacy_conditions_value => webui_privacy_policy