change in expiry message

This commit is contained in:
Anand Doshi 2012-04-30 18:33:32 +05:30
parent 56205aeb92
commit 84777ac457

View File

@ -100,13 +100,13 @@ erpnext.startup.start = function() {
if (0 <= diff && diff <= 15) {
var expiry_string = diff==0 ? "today" : repl("in %(diff)s day(s)", { diff: diff });
$('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 \
(and remove this annoying banner). \
</div>', { expiry_string: expiry_string }));
} else if (diff < 0) {
$('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 }));
}
}