Skip to content

Commit

Permalink
Fixes #17436: Empty footer in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelGauthier committed Jun 4, 2020
1 parent 668f0b7 commit afcabdd
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,14 @@ class CommonBranding(val status: PluginStatus)(implicit val ttag: ClassTag[Commo
case Full(d) =>
( d.wideLogo.commonWideLogo
, d.smallLogo.commonSmallLogo
, <a target="_blank" href="https://www.rudder.io/" class="rudder-branding-footer">
{if(d.wideLogo.enable && d.wideLogo.data.isDefined ) <img alt="Rudder" data-lift="with-cached-resource" src="/images/logo-rudder-nologo.svg" class="rudder-branding-logo-lg"/> else NodeSeq.Empty}
{if(d.smallLogo.enable && d.smallLogo.data.isDefined) <img alt="Rudder" data-lift="with-cached-resource" src="/images/logo-rudder-sm.svg" class="rudder-branding-logo-sm"/> else NodeSeq.Empty}
</a>
, {if((d.wideLogo.enable && d.wideLogo.data.isDefined) || (d.smallLogo.enable && d.smallLogo.data.isDefined)) {
<a target="_blank" href="https://www.rudder.io/" class="rudder-branding-footer">
{if (d.wideLogo.enable && d.wideLogo.data.isDefined) <img alt="Rudder" data-lift="with-cached-resource" src="/images/logo-rudder-nologo.svg" class="rudder-branding-logo-lg"/> else NodeSeq.Empty}
{if (d.smallLogo.enable && d.smallLogo.data.isDefined) <img alt="Rudder" data-lift="with-cached-resource" src="/images/logo-rudder-sm.svg" class="rudder-branding-logo-sm"/> else NodeSeq.Empty}
</a>
}else{
NodeSeq.Empty
}}
)
case _ =>
( <img alt="Rudder" data-lift="with-cached-resource" src="/images/logo-rudder-nologo.svg" class="rudder-branding-logo-lg"/>
Expand Down

0 comments on commit afcabdd

Please sign in to comment.