added latest updates page

This commit is contained in:
Rushabh Mehta
2012-11-13 12:32:11 +05:30
parent 9d0569a690
commit 724bb471ee
4 changed files with 82 additions and 1 deletions

View File

View 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);
});
}

View 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'
}
]