product logo and link served by api
parent
5dc4b065f5
commit
0537362fe9
|
@ -4,6 +4,12 @@ jQuery(document).ready(() => {
|
|||
if (result.logo) {
|
||||
$("#navbar-logo img").attr('src', result.logo)
|
||||
}
|
||||
if (result.product_logo) {
|
||||
$("#product-logo img").attr("src", result.product_logo)
|
||||
}
|
||||
if (result.product_url) {
|
||||
$("#product-logo a").attr("href", result.product_url)
|
||||
}
|
||||
})
|
||||
$.get(`${base_url}/header/html/nextcloud`, (result) => {
|
||||
console.log(result)
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="dd-logo">
|
||||
<div id="product-logo">
|
||||
<a href="https://xnet-x.net/ca/digital-democratic/" target="_blank">
|
||||
<img src="/themes/digitaldemocratic/core/img/dd.svg" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px"/>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue