Fix logo display in admin

master
Mark Moffat 2019-12-30 17:26:45 +10:30
parent af7c38aee7
commit 14adbe6035
1 changed files with 4 additions and 0 deletions

View File

@ -88,7 +88,11 @@
<body> <body>
{{/if}} {{/if}}
<nav class="navbar navbar-expand-lg justify-content-between mainNavBar"> <nav class="navbar navbar-expand-lg justify-content-between mainNavBar">
{{#if admin}}
<a class="navbar-brand" href="/"><img class="img-fluid" src="/images/logo-admin.png"></a>
{{else}}
<a class="navbar-brand" href="/">{{@root.config.cartTitle}}</a> <a class="navbar-brand" href="/">{{@root.config.cartTitle}}</a>
{{/if}}
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMenu" aria-controls="navbarMenu" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMenu" aria-controls="navbarMenu" aria-expanded="false" aria-label="Toggle navigation">
<i class="fa fa-bars" aria-hidden="true"></i> <i class="fa fa-bars" aria-hidden="true"></i>
</button> </button>