mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
more message fixing
This commit is contained in:
@@ -6,12 +6,9 @@ frappe.provide('erpnext');
|
||||
// add toolbar icon
|
||||
$(document).bind('toolbar_setup', function() {
|
||||
frappe.app.name = "ERPNext";
|
||||
|
||||
var brand = ($("<div></div>").append(frappe.boot.website_settings.brand_html).text() || 'erpnext');
|
||||
$('.navbar-brand').html('<div style="display: inline-block;">\
|
||||
<object type="image/svg+xml" data="assets/erpnext/images/splash.svg" class="toolbar-splash"></object>\
|
||||
</div>' + brand)
|
||||
.attr("title", brand)
|
||||
|
||||
$('.navbar-brand').html('<i class="icon-home"></i>')
|
||||
.attr("title", "Home")
|
||||
.addClass("navbar-icon-home")
|
||||
.css({
|
||||
"max-width": "200px",
|
||||
@@ -24,19 +21,20 @@ frappe.provide('frappe.ui.misc');
|
||||
frappe.ui.misc.about = function() {
|
||||
if(!frappe.ui.misc.about_dialog) {
|
||||
var d = new frappe.ui.Dialog({title: __('About')})
|
||||
|
||||
|
||||
$(d.body).html(repl("<div>\
|
||||
<h2>ERPNext</h2> \
|
||||
<p>"+__("An open source ERP made for the web.</p>") +
|
||||
<h4 class='text-muted'>"+__("Built on") + " Frappe Framework"+"</h4> \
|
||||
<p>"+__("Open source ERP built for the web") + "</p>" +
|
||||
"<p>"+__("To report an issue, go to ")+"<a href='https://github.com/frappe/erpnext/issues'>GitHub Issues</a></p> \
|
||||
<p><a href='http://erpnext.org' target='_blank'>http://erpnext.org</a>.</p>\
|
||||
<p><a href='http://www.gnu.org/copyleft/gpl.html'>License: GNU General Public License Version 3</a></p>\
|
||||
<hr>\
|
||||
<p>© 2014 Web Notes Technologies Pvt. Ltd and contributers </p> \
|
||||
</div>", frappe.app));
|
||||
|
||||
frappe.ui.misc.about_dialog = d;
|
||||
|
||||
frappe.ui.misc.about_dialog = d;
|
||||
}
|
||||
|
||||
|
||||
frappe.ui.misc.about_dialog.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user