Closed
Description
Information about bug
First we are newbies to ERPnext and maybe miss understand the logic - here our bug description:
i have configured the footer settings in ERPnext v15 (docker based) deployment - no customization
all pages show the footer settings except login where i need it
more details here: https://discuss.frappe.io/t/china-law-requires-footer-on-login-page-how-to-do/115391
As of China law we must show up the icp and beian numbers on the "landing page" by calling the domain!
We do not plan to use a customized website via erpnext so we need to show up the footer on login page
Module
other
Version
ERPNext: v15.9.1
Frappe Framework: v15.8.1
Installation method
docker
Relevant log output / Stack trace / Full Error Message.
view-source:https://erpnext.company.net/#login contains the data but it is not shown up:
line 2976
<div class="container">
<div class="footer-logo-extension">
<div class="row">
<div class="text-left col-md-6"></div>
<div class="text-right col-md-6">
<div class="input-group">
<input aria-describedby="footer-subscribe-button" aria-label="Your email address..." class="form-control" id="footer-subscribe-email" placeholder="Your email address..." type="text"/>
<div class="input-group-append">
<button class="btn btn-sm btn-secondary pl-3 pr-3 ml-2" id="footer-subscribe-button" type="button">Get Updates</button>
</div>
</div>
</div>
</div>
</div>
<div class="footer-links">
<div class="row">
<div class="footer-col-left col-sm-6"></div>
<div class="footer-col-right col-sm-6"></div>
</div>
667B
</div>
<div class="footer-info">
<div class="row">
<div class="footer-col-left col-sm-6 col-12">
© (c) 2024 Company
<br/>
Example Road
12345 Shanghai
</div>
<div class="footer-col-right col-sm-6 col-12 footer-powered">
Powered by ERPnext
</div>
</div>
</div>
</div>
</footer><script data-web-template='Standard Footer'>
frappe.ready(function() {
$("#footer-subscribe-button").click(function() {
if($("#footer-subscribe-email").val() && validate_email($("#footer-subscribe-email").val())) {
$("#footer-subscribe-email").attr('disabled', true);
$("#footer-subscribe-button").html("Sending...")
.attr("disabled", true);
erpnext.subscribe_to_newsletter({
email: $("#footer-subscribe-email").val(),
callback: function(r) {
if(!r.exc) {
$("#footer-subscribe-button").html(__("Added"))
.attr("disabled", true);
} else {
$("#footer-subscribe-button").html(__("Error: Not a valid id?"))
.addClass("btn-danger").attr("disabled", false);
$("#footer-subscribe-email").val("").attr('disabled', false);
}
}
});
}
else
frappe.msgprint(frappe._("Please enter valid email address"))
});
});
</script>