added latest updates page
This commit is contained in:
parent
9d0569a690
commit
724bb471ee
0
home/page/latest_updates/__init__.py
Normal file
0
home/page/latest_updates/__init__.py
Normal file
37
home/page/latest_updates/latest_updates.js
Normal file
37
home/page/latest_updates/latest_updates.js
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
erpnext.updates = [
|
||||||
|
["13th November 2012", [
|
||||||
|
"General Ledger (new): Will show entries with 'Is Opening' as Opening.",
|
||||||
|
"General Ledger (new): Show against account entries if filtered by account.",
|
||||||
|
]],
|
||||||
|
["12th November 2012", [
|
||||||
|
"Document Lists: Automatically Refresh lists when opened (again).",
|
||||||
|
"Messages: Popups will not be shown (annoying).",
|
||||||
|
"Email Digest: New option to get ten latest Open Support Tickets.",
|
||||||
|
"Journal Voucher: 'Against JV' will now be filtered by the Account selected.",
|
||||||
|
"Query Report: Allow user to rename and save reports.",
|
||||||
|
"Employee Leave Balance Report: Bugfix"
|
||||||
|
]]
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
wn.pages['latest-updates'].onload = function(wrapper) {
|
||||||
|
wn.ui.make_app_page({
|
||||||
|
parent: wrapper,
|
||||||
|
title: 'Latest Updates',
|
||||||
|
single_column: true
|
||||||
|
});
|
||||||
|
|
||||||
|
var parent = $(wrapper).find(".layout-main");
|
||||||
|
|
||||||
|
$("<p class='help'>Report issues by sending a mail to <a href='mailto:support@erpnext.com'>support@erpnext.com</a> or \
|
||||||
|
via <a href='https://github.com/webnotes/erpnext/issues'>GitHub Issues</a></p><hr>").appendTo(parent);
|
||||||
|
|
||||||
|
|
||||||
|
$.each(erpnext.updates, function(i, day) {
|
||||||
|
$("<h4>" + day[0] + "</h4>").appendTo(parent);
|
||||||
|
$.each(day[1], function(j, item) {
|
||||||
|
$("<p>").html(item).appendTo(parent);
|
||||||
|
})
|
||||||
|
$("<hr>").appendTo(parent);
|
||||||
|
});
|
||||||
|
}
|
43
home/page/latest_updates/latest_updates.txt
Normal file
43
home/page/latest_updates/latest_updates.txt
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Page, latest-updates
|
||||||
|
[
|
||||||
|
|
||||||
|
# These values are common in all dictionaries
|
||||||
|
{
|
||||||
|
u'creation': '2012-11-13 11:55:09',
|
||||||
|
u'docstatus': 0,
|
||||||
|
u'modified': '2012-11-13 12:21:39',
|
||||||
|
u'modified_by': u'Administrator',
|
||||||
|
u'owner': u'Administrator'
|
||||||
|
},
|
||||||
|
|
||||||
|
# These values are common for all Page
|
||||||
|
{
|
||||||
|
u'doctype': u'Page',
|
||||||
|
'module': u'Home',
|
||||||
|
u'name': u'__common__',
|
||||||
|
'page_name': u'latest-updates',
|
||||||
|
'standard': u'Yes',
|
||||||
|
'title': u'Latest Updates'
|
||||||
|
},
|
||||||
|
|
||||||
|
# These values are common for all Page Role
|
||||||
|
{
|
||||||
|
u'doctype': u'Page Role',
|
||||||
|
u'name': u'__common__',
|
||||||
|
'parent': u'latest-updates',
|
||||||
|
'parentfield': u'roles',
|
||||||
|
'parenttype': u'Page',
|
||||||
|
'role': u'All'
|
||||||
|
},
|
||||||
|
|
||||||
|
# Page, latest-updates
|
||||||
|
{
|
||||||
|
u'doctype': u'Page',
|
||||||
|
u'name': u'latest-updates'
|
||||||
|
},
|
||||||
|
|
||||||
|
# Page Role
|
||||||
|
{
|
||||||
|
u'doctype': u'Page Role'
|
||||||
|
}
|
||||||
|
]
|
@ -53,7 +53,8 @@ erpnext.startup.start = function() {
|
|||||||
// border to the body
|
// border to the body
|
||||||
// ------------------
|
// ------------------
|
||||||
$('footer').html('<div class="web-footer erpnext-footer">\
|
$('footer').html('<div class="web-footer erpnext-footer">\
|
||||||
<a href="#!attributions">ERPNext | Attributions and License</a></div>');
|
<a href="#attributions">Attributions and License</a> | \
|
||||||
|
<a href="#latest-updates"><b>Latest Updates</b></a></div>');
|
||||||
|
|
||||||
// complete registration
|
// complete registration
|
||||||
if(in_list(user_roles,'System Manager') && (wn.boot.setup_complete=='No')) {
|
if(in_list(user_roles,'System Manager') && (wn.boot.setup_complete=='No')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user