diff --git a/share/templates/reseller/branding.tt b/share/templates/reseller/branding.tt index 14cfd8db09..34de5647cd 100644 --- a/share/templates/reseller/branding.tt +++ b/share/templates/reseller/branding.tt @@ -1,14 +1,18 @@ [% site_config.title = c.loc('Panel Branding') -%] -
- [% c.loc("You can use the logo by adding the following CSS to the Custom CSS below:") %] +[% IF branding.defined -%] + [% IF branding.logo.defined -%] +
+ [% c.loc("You can use the logo by adding the following CSS to the Custom CSS below:") %]
#header .brand {
background: url([% c.uri_for_action('/reseller/get_branding_logo', c.req.captures) %]) no-repeat 0 0;
background-size: 280px 32px;
}
-
- [% ELSE -%]
- No logo uploaded.
- [% END -%]
-
+
+ [% ELSE -%]
+ [% c.loc('No logo uploaded') %]
+ [% END -%]
- -
++ +[% ELSE -%] + [% c.loc('No branding specified, using standard branding.') %] +[% END -%] [% IF branding_edit_flag == 1 -%] [%[% c.loc('Custom CSS') %]
++
[% branding.css %] -- - [% ELSE -%] - No branding specified, using standard branding. - [% END -%] +