login-ssn - paychek-plus
Web 内容显示
Login Banners_3174585
$banner_text.getData()
-
#set ($userCompanyId = $request.portlet-session.application-attributes.companyId.toString())
#foreach($b in $banner_image.getSiblings())
#set ($companyIds = '')
#set ($companyIds = $b.banner_companies.getData())
#set ($bannerDisplay = false)
#set ($prodDisplay = 2)
#set ($prodDisplay = $b.banner_product_display.getData())
#set ($prod = '|0|')
#set ($prod = '|' + $b.banner_product.getData() + '|' )
#if ($prod == '|0|' || $prod == '||')
#set ($bannerDisplay = true)
#else
#if ($prodDisplay == 2 && $request.portlet-session.application-attributes.offeredProducts.contains($prod))
#set ($bannerDisplay = true)
#end
#if ($prodDisplay == 1 && $request.portlet-session.application-attributes.offeredProducts.contains($prod) && $request.portlet-session.application-attributes.enrolledProducts.contains($prod))
#set ($bannerDisplay = true)
#end
#if ($prodDisplay == 0 && $request.portlet-session.application-attributes.offeredProducts.contains($prod) && !$request.portlet-session.application-attributes.enrolledProducts.contains($prod))
#set ($bannerDisplay = true)
#end
#end
#set ($companyIgnored = true)
#set ($companyMatched = false)
#if ($bannerDisplay)
#foreach($companyId in $companyIds.split(","))
#set ($trimmedId = $companyId.trim())
#if ($trimmedId != '')
#set ($companyIgnored = false)
#set ($companyMatched = ($companyMatched || ($trimmedId == $userCompanyId)))
#end
#end
#end
#if ($bannerDisplay && ($companyIgnored || $companyMatched))
-
#if ($b.banner_link.getData() != "")
#end
#if ($b.banner_link.getData() != "") #end
#end
#end
Web 内容显示
Login Title
$content.getData()
Web 内容显示
Login links
Web 内容显示
Logo Overrides
#set ($keepLooking = true)
#set ($userCompanyId = $request.portlet-session.application-attributes.companyId.toString())
#foreach($next in $logo.getSiblings())
#if ($keepLooking)
#set ($companyIds = '')
#set ($companyIds = $next.logo_companies.getData())
#set ($companyIgnored = true)
#set ($companyMatched = false)
#foreach($companyId in $companyIds.split(","))
#set ($trimmedId = $companyId.trim())
#if ($trimmedId != '')
#set ($companyIgnored = false)
#set ($companyMatched = ($companyMatched || ($trimmedId == $userCompanyId)))
#end
#end
#if ($companyIgnored || $companyMatched)
#set ($keepLooking = false)
#end
#end
#end