Difference between revisions of "Template: EPPOHead"

From Genesys Documentation
Jump to: navigation, search
(removing tabs from rss links)
 
(51 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<onlyinclude>{{#switch:{{{PageType}}}
+
<onlyinclude>
|RNProduct
+
{{#css:  
|RNComponent=
+
ul.related-links, ul.related-links li {display: inline; margin-left: 0;}
<div class="icons"><span class="sub-heading">'''Platforms''': </span>{{SMART_Icons|Offering={{{Platform}}}}}</div>
+
ul.related-links li, ul.related-links>a {padding: 0 20px;border-left: 1px solid #5d3e5d; font-size: 15px;}
<div class="col-md-12" style="padding-left:0;">
+
ul#prod-link li {border: 0 none;}
<div  style="padding: 30px 35px;background-color: #f5f5f5;margin-bottom: 40px;">
+
ul.related-links li:last-child { border-right: 0 none;}
<div class="text-center icon hidden-xs" style=" display: table-cell;
+
ul.related-links li.roles {padding:0 18px; border-left: 1px solid #77828f;}
    padding-right: 35px;
+
ul.related-links li.roles a, ul.related-links li.roles a:focus, ul.related-links li.roles a:hover {font-weight: 400; color: #77828f;}
    vertical-align: middle;
+
ul.related-links li.apps {padding: 0 18px 0 18px;}
    text-align: center;
+
ul.related-links li.apps:last-child {padding-right: 18px;}
    font-size:0.75em;">
+
ul.related-links li.apps:first-child {padding-left: 18px;border-left: 1px solid #77828f;}
<span class="fa-stack fa-5x" style="position: relative;
+
ul.related-links.pages li:first-child, ul.related-links>a:first-child {border:0 none;}
    display: inline-block;
+
span.mw-redirectedfrom {display: none;}
    width: 2em;
+
}}<div class="eppo-head" style="background-color:#f6f6f6; color: #5d3e5d;margin:-20px -18px 20px -36px; padding:20px 20px 30px 40px;">
    height: 2em;
+
<div class="col-md-10" id="eppo-links" style="padding:0; margin-top:-10px;min-height:20px;">
    line-height: 2em;
+
<ul class="related-links">
    vertical-align: middle;
+
{{#if:{{{Application|}}}
" >
+
|{{#arraymaptemplate:{{{Application|}}}
<i class="fa fa-circle fa-stack-2x text-primary" style="color: #5d3e5d !important;"></i>
+
|ApplicationsMap
<i class="fa fa-bullhorn fa-stack-1x fa-inverse"> </i>
+
|,
</span>
+
|
 +
}}
 +
}}</ul>
 +
<ul class="related-links">
 +
{{#if:{{{Role|}}}
 +
|{{#arraymaptemplate:{{{Role|}}}
 +
|RolesMap
 +
|,
 +
|
 +
}}
 +
}}</ul>
 
</div>
 
</div>
<div style="display: table-cell;margin: 0;padding: 0;vertical-align: top; color: #666 !important;line-height: 1.8333333;">
+
<div class="col-md-2" id="eppo-version" style="padding:0;"></div>
{{#cargo_query:
+
<div class="clearfix"></div>
tables=RNSection,CloudRN
+
<div id="eppo-heading" style="margin-bottom: 15px;"></div>
|join on=RNSection._pageName=CloudRN._pageName
+
{{#ifeq:{{{ComingSoon|}}}|Yes|
|fields=CloudRN._pageName=Page,DisplayName,ProductArea,RNShort,Component,Product
+
<span style="background-color: #5D3E5D; color: #fff; padding: 3px 10px; border: 1px solid #5D3E5D; border-radius: 3px; font-size: 90%; font-weight: 500;margin-right: 5px;"><i class="glyphicon glyphicon-flag" style="margin-right: 5px;"></i>Feature coming soon!</span>
|format=template
+
|}}{{#if:{{{Context|}}}|
|template={{#switch:{{{PageType|}}}|RNProduct=CloudRNLatestCollectionPrint|RNComponent=CloudRNLatestComponentPrint}}
+
<span>{{{Context}}}</span>}}
|named args=yes
+
<!-- An IF to find if any links at all exist. If yes, format accordingly. If no, do nothing. -->
|where=Product="{{MINTYDOCSPRODUCT}}" {{#if:{{{Component|}}}|AND Component="{{{Component}}}"|}} AND MintyDocsVersion="{{MINTYDOCSVERSION}}" AND CloudRN._pageNamespace="{{NAMESPACENUMBER}}"
+
{{#if:{{EPPOQueries
|order by=DisplayName DESC
+
|PageType={{{PageType|}}}
|limit=1
+
|RN={{{RN|}}}
|more results text=}}</div></div>
+
|ServiceId={{{ServiceId|}}}
{{{IntroductorySection|}}}
+
|DepGuideServiceId={{{DepGuideServiceId|}}}
{{#switch:{{{PageType}}}|RNProduct={{#cargo_query:
+
}}
tables=RNSection,CloudRN
+
|<div style="margin-top:20px;"><span style="font-weight:600;">Related documentation:</span><ul class="related-links pages">
|join on=RNSection._pageName=CloudRN._pageName
+
{{EPPOQueries
|fields=CloudRN._pageName=Page,DisplayName,Component,ProductArea,RNShort,Product
+
|PageType={{{PageType|}}}
|format=template
+
|RN={{{RN|}}}
|template=CloudRNCollectionPrint
+
|ServiceId={{{ServiceId|}}}
|named args=yes
+
|DepGuideServiceId={{{DepGuideServiceId|}}}
|default=
+
}}
|where=Product="{{MINTYDOCSPRODUCT}}" AND CloudRN._pageNamespace="{{NAMESPACENUMBER}}"
+
</ul>
|order by=DisplayName DESC
+
|<!-- do nothing if no links
|group by=DisplayName
+
-->}}
|offset=1}}|RNComponent={{#cargo_query:
+
<div>
tables=RNSection,CloudRN
+
{{#if:{{{UseCase|}}}
|join on=RNSection._pageName=CloudRN._pageName
+
|
|fields=CloudRN._pageName=Page,DisplayName,ProductArea,RNShort,Component
+
{{#switch:{{{Platform|}}}
|format=template
+
|GenesysEngage-onpremises=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPE|,|}}</ul>
|template=CloudRNPrint
+
|GenesysCloud=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPC|,|}}</ul>
|named args=yes
+
|PureConnect=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPCON|,|}}</ul>
|where=Product="{{MINTYDOCSPRODUCT}}" AND Component="{{{Component}}}" AND CloudRN._pageNamespace="{{NAMESPACENUMBER}}"
+
}}
|order by=DisplayName DESC
 
|default=
 
|group by=DisplayName
 
|offset=1}}}}
 
|#default=<div class="panel eppo">
 
<div class="panel-body">
 
{{#if:{{{Context|}}}|
 
{{#if:{{{Dimension|}}}|{{#if:{{{Tags|}}}|
 
<!--{{#cargo_query:
 
tables=MintyDocsManual
 
|fields=Role,UI
 
|format=template
 
|template=RoleIcons|named args=yes
 
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
 
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
 
}}-->
 
<div class="col-md-5 context">
 
{{{Context}}}
 
</div>
 
<div class="col-md-5 related">
 
<div class="col-md-5 tags">
 
<span>tags</span>
 
{{#cargo_query:
 
    tables=Article,Article__Tags
 
          |join on=Article._ID=Article__Tags._rowID
 
          |fields=CONCAT('[[',Article__Tags._value,']]')
 
    |where=Article._pageName="{{FULLPAGENAME}}" AND Article__Tags._value IS NOT NULL
 
    |format=ul
 
          |default=
 
    }}
 
</div>
 
<div class="col-md-5 links">
 
<span>links</span>
 
  {{#cargo_query:
 
    tables=Article
 
    |fields=CONCAT('[[',_pageName,'|',DisplayName,']]')
 
    |where=Dimension="{{{Dimension}}}" AND Dimension IS NOT NULL AND _pageName!="{{FULLPAGENAME}}" AND Article._pageName LIKE '%{{#explode:{{FULLPAGENAME}}|/|1}}%' AND Article._pageNamespace="{{NAMESPACENUMBER}}"
 
    |format=ul
 
    |default=test1
 
    }}
 
</div>
 
</div>
 
{{#if:{{{Prereq|}}}|<div class="panel eppo">
 
<div class="panel-body">
 
<ul class="col-md-12" style="list-style-type:disc;">
 
{{{Prereq|}}}</ul></div></div>|}}
 
 
|
 
|
<!--{{#cargo_query:
+
}}<!--
tables=MintyDocsManual
+
 
|fields=Role,UI
+
adding RSS links to Relase notes pages & PE guide pages
|format=template
+
 
|template=RoleIcons|named args=yes
+
-->{{#switch:{{{RN|}}}
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
+
|Yes=<span style="font-weight:600; ">RSS:</span><ul class="related-links pages"><li>[https://all.docs.genesys.com/ReleaseNotes/Current/GenesysEngage-cloud/Hosted?action=rnrss For cloud]</li><li>[https://all.docs.genesys.com/ReleaseNotes/Current/GenesysEngage-cloud/PrivateEdition?action=rnrss For private edition]</li></ul>
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
+
|#default={{#cargo_query:  
}}-->
+
tables=MintyDocsManual,Article,Service
<div class="col-md-7 context">
+
|join on=
{{{Context}}}
+
MintyDocsManual.Manual=Article.Manual,
</div>
+
MintyDocsManual.ServiceId=Service.Id
<div class="col-md-3 related">
+
|intro=<span style="font-weight:600; ">RSS:</span><ul class="related-links pages">
<div class="links">
+
|outro=</ul>
<span>links</span>
+
|fields=CONCAT('[https://all.docs.genesys.com/ReleaseNotes/Current/GenesysEngage-cloud/PrivateEdition?action=rnrss For private edition]')
{{#cargo_query:
+
|where=
    tables=Article
+
Article._pageName="{{FULLPAGENAME}}"  
    |fields=CONCAT('[[',_pageName,'|',DisplayName,']]')
+
AND (MintyDocsManual.ServiceId IS NOT NULL OR MintyDocsManual.Manual="PEGuide" OR MintyDocsManual.Manual="Operations")
    |where=Dimension="{{{Dimension}}}" AND Dimension IS NOT NULL AND _pageName!="{{FULLPAGENAME}}" AND Article._pageName LIKE '%{{#explode:{{FULLPAGENAME}}|/|1}}%' AND Article._pageNamespace="{{NAMESPACENUMBER}}"
+
AND Article._pageNamespace="{{NAMESPACENUMBER}}"
    |format=ul
+
|format=template
    |default=
+
|template=ListItems
    }}
+
|default=
</div>
+
|group by=Article._pageName
</div>
+
}}
 
}}
 
}}
{{#if:{{{Prereq|}}}|<div class="panel eppo">
 
<div class="panel-body">
 
<ul class="col-md-12" style="list-style-type:disc;">
 
{{{Prereq|}}}</ul></div></div>|}}
 
|
 
{{#if:{{{Tags|}}}|
 
<!--{{#cargo_query:
 
tables=MintyDocsManual
 
|fields=Role,UI
 
|format=template
 
|template=RoleIcons|named args=yes
 
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
 
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
 
}}-->
 
<div class="col-md-7 context">
 
{{{Context}}}
 
 
</div>
 
</div>
<div class="col-md-3 related">
 
<div class="col-md-6 tags">
 
<span>tags</span>
 
  {{#cargo_query:
 
            tables=Article,Article__Tags
 
                  |join on=Article._ID=Article__Tags._rowID
 
                  |fields=CONCAT('[[',Article__Tags._value,']]')
 
            |where=Article._pageName="{{FULLPAGENAME}}" AND Article__Tags._value IS NOT NULL
 
            |format=ul
 
                  |default=
 
            }}
 
 
</div>
 
</div>
 
</div>
 
</div>
{{#if:{{{Prereq|}}}|<div class="panel eppo">
+
<!-- Notices--><div id="footer-notice" style="margin: 0 auto;margin-top:20px;display: none;">
<div class="panel-body">
+
{{#cargo_query:
<ul class="col-md-12" style="list-style-type:disc;">
+
tables=
{{{Prereq|}}}</ul></div></div>|}}
+
Article,
|
+
MintyDocsManual
<div class="col-md-12 context" style="border-right: 0;padding-left:0">
+
|join on=Article._pageNamespace=MintyDocsManual._pageNamespace
<!--{{#cargo_query:
+
|fields=MintyDocsManual.Notice
tables=MintyDocsManual
+
|where=
|fields=Role,UI
+
Article._pageName="{{FULLPAGENAME}}"  
|format=template
+
AND Article.Manual=MintyDocsManual.Manual
|template=RoleIcons|named args=yes
+
|named args=yes
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
+
|format=template
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
+
|template=Notices
}}-->{{{Context}}}
+
|default=
</div>
 
}}
 
}}
 
 
}}
 
}}
</div></div>{{#if:{{{Prereq|}}}|<div class="panel eppo">
+
</div></onlyinclude>
<div class="panel-body">
 
<ul class="col-md-12" style="list-style-type:disc;">
 
{{{Prereq|}}}</ul></div></div>|}}}}<nowiki /></onlyinclude>
 
 
<noinclude>[[Category:MintyDocs_Cargo]][[Category:EPPO_Cargo]][[Category:Cargo_CloudRN]][[Category:UCSales_Cargo]]
 
<noinclude>[[Category:MintyDocs_Cargo]][[Category:EPPO_Cargo]][[Category:Cargo_CloudRN]][[Category:UCSales_Cargo]]
</noinclude>
+
</noinclude><noinclude>[[Category:GroupByFix]]</noinclude>

Latest revision as of 12:42, August 25, 2022

Related documentation:
Retrieved from "https://all.docs.genesys.com/Template:EPPOHead (2024-07-28 10:17:50)"