change in expiry message
This commit is contained in:
parent
56205aeb92
commit
84777ac457
@ -100,13 +100,13 @@ erpnext.startup.start = function() {
|
|||||||
if (0 <= diff && diff <= 15) {
|
if (0 <= diff && diff <= 15) {
|
||||||
var expiry_string = diff==0 ? "today" : repl("in %(diff)s day(s)", { diff: diff });
|
var expiry_string = diff==0 ? "today" : repl("in %(diff)s day(s)", { diff: diff });
|
||||||
$('header').append(repl('<div class="expiry-info"> \
|
$('header').append(repl('<div class="expiry-info"> \
|
||||||
Ahem! Your ERPNext subscription will <b>expire %(expiry_string)s</b>. \
|
Your ERPNext subscription will <b>expire %(expiry_string)s</b>. \
|
||||||
Please renew your subscription to continue using ERPNext \
|
Please renew your subscription to continue using ERPNext \
|
||||||
(and remove this annoying banner). \
|
(and remove this annoying banner). \
|
||||||
</div>', { expiry_string: expiry_string }));
|
</div>', { expiry_string: expiry_string }));
|
||||||
} else if (diff < 0) {
|
} else if (diff < 0) {
|
||||||
$('header').append(repl('<div class="expiry-info"> \
|
$('header').append(repl('<div class="expiry-info"> \
|
||||||
Ahem! This ERPNext subscription <b>has expired</b> and should be deleted. \
|
This ERPNext subscription <b>has expired</b> and should be deleted. \
|
||||||
</div>', { expiry_string: expiry_string }));
|
</div>', { expiry_string: expiry_string }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user