mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:07:02 +00:00
factor/tweaked mainFaq.html -> main-faq.html
This commit is contained in:
parent
b0ae1ca5c1
commit
282b1af7ce
@ -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.
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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)">
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user