refactor/tweaked the logo links point to Sandbox Portal page

This commit is contained in:
Hongwei 2022-10-06 12:52:18 +02:00
parent 6e1a798f7d
commit f8a1072729

View File

@ -27,6 +27,7 @@ Berlin 13359, Germany
package code.snippet
import code.lib.OBPProvider.baseUrl
import code.util.Helper
import code.util.Helper.MdcLoggable
import net.liftweb.http.{S, SessionVar}
@ -69,11 +70,13 @@ class WebUI extends MdcLoggable {
// These copied from API but not all implemented.
def headerLogoLeft = {
"img [src]" #> getPropsValue("webui_header_logo_left_url", "https://static.openbankproject.com/images/OBP_full_web_25pc.png")
"a [href]" #> baseUrl &
"img [src]" #> getPropsValue("webui_header_logo_left_url", "https://static.openbankproject.com/images/OBP_full_web_25pc.png")
}
def headerLogoRight: CssSel = {
"img [src]" #> getPropsValue("webui_header_logo_right_url", "https://static.openbankproject.com/images/obp_logo_stacked.png")
"a [href] " #> baseUrl &
"img [src]" #> getPropsValue("webui_header_logo_right_url", "https://static.openbankproject.com/images/obp_logo_stacked.png")
}
def currentYearText: CssSel = {