Difference between revisions of "Template: UseCaseHead"

From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "Genesys Engage [cC]loud" to "Genesys Multicloud CX")
 
(57 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div class="public-uc">
 
<div class="public-uc">
<div id="public-uc-heading" >
+
<div id="public-uc-heading"><span class="image-link" style="display:none;">{{#cargo_query:tables=SMART_Canonical|fields=DataSheetImageURL|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}"}}</span>
 
<div>{{{Subtitle|}}}</div>
 
<div>{{{Subtitle|}}}</div>
 
</div>
 
</div>
 
<div class="public-uc-content">
 
<div class="public-uc-content">
<div class="col-md-7">
+
<div class="col-md-12">
 
<h2>What's the challenge?</h2>
 
<h2>What's the challenge?</h2>
 
{{{PlatformChallenge|}}}
 
{{{PlatformChallenge|}}}
 
<h2>What's the solution?</h2>
 
<h2>What's the solution?</h2>
 
{{{PlatformSolution|}}}
 
{{{PlatformSolution|}}}
</div>
+
</div>{{#if:{{{Video}}}|
<div class="col-md-5" style="margin-top: 40px;">
+
<div class="col-md-7" style="margin-top: 40px;">
 
{{#widget:Vimeo|id={{{Video}}}|width=100%}}
 
{{#widget:Vimeo|id={{{Video}}}|width=100%}}
</div>
+
</div>|}}
<div class="col-md-12" style="margin-top:20px;">
+
{{#if:{{{Video}}}|<div class="col-md-5" style="margin-top: 40px;" >|<div class="col-md-12" style="margin-top: 40px;">}}
 
{{#cargo_query:
 
{{#cargo_query:
 
tables=SMART_UseCase
 
tables=SMART_UseCase
|intro=<b>Other platforms:</b><ul class="related-links">
+
|intro={{#if:{{{Video}}}|<b>Other offerings:</b>|<b>Other offerings:</b><ul class="related-links">}}
|fields=CONCAT ('[[',_pageName,'|', CASE WHEN Offering='GenesysEngage-cloud' THEN 'Genesys Engage cloud' WHEN Offering='GenesysEngage-onpremises' THEN 'Genesys Engage on-premises' WHEN Offering='GenesysCloud' THEN 'Genesys Cloud' ELSE Offering END,']]')
+
|fields=CONCAT ('[[',_pageName,'|', CASE WHEN Offering='GenesysEngage-cloud' THEN 'Genesys Multicloud CX' WHEN Offering='GenesysEngage-onpremises' THEN 'Genesys Engage on-premises' WHEN Offering='GenesysCloud' THEN 'Genesys Cloud' ELSE Offering END,']]')
 
|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" AND Offering !="{{#explode:{{FULLPAGENAME}}|/|2}}"
 
|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" AND Offering !="{{#explode:{{FULLPAGENAME}}|/|2}}"
|format=template
+
|format={{#if:{{{Video}}}|template}}
 +
|delimiter=
 
|template=ListItems
 
|template=ListItems
 
|default=
 
|default=
}}</ul></div>
+
|outro={{#if:{{{Video}}}|</ul>|}}
</div>
+
}}
 +
</div></div>
 
<div class="clearfix"></div>
 
<div class="clearfix"></div>
 
</div>
 
</div>
{{#cargo_query:tables=SMART_Canonical|fields=DataSheetImageURL|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}"}}
+
{{#if:{{{Video}}}||{{#css:  
 
 
{{#css:  
 
#public-uc-heading {background: linear-gradient(rgba(255,79,31,0.7),rgba(255,79,31,0.7)),url(https://all.docs.genesys.com/images-supersite/0/02/B002.jpg) no-repeat top -65px left 0/100%;}
 
 
ul.related-links, ul.related-links li {display: inline; margin-left: 0;}
 
ul.related-links, ul.related-links li {display: inline; margin-left: 0;}
 
ul.related-links li, ul.related-links>a {padding: 0 20px;  border-left: 1px solid #5d3e5d; font-size: 15px;}
 
ul.related-links li, ul.related-links>a {padding: 0 20px;  border-left: 1px solid #5d3e5d; font-size: 15px;}
Line 40: Line 39:
 
ul.related-links li.apps:first-child {padding-left: 18px;border-left: 1px solid #77828f;}
 
ul.related-links li.apps:first-child {padding-left: 18px;border-left: 1px solid #77828f;}
 
ul.related-links li:first-child, ul.related-links>a:first-child {border:0 none;}
 
ul.related-links li:first-child, ul.related-links>a:first-child {border:0 none;}
}}
+
}}}}

Latest revision as of 20:37, November 9, 2021

What's the challenge?

What's the solution?

Retrieved from "https://all.docs.genesys.com/Template:UseCaseHead (2025-06-22 12:44:55)"