changes related to my_company page moved to home
This commit is contained in:
parent
10dc6be450
commit
d9c37074ce
@ -13,7 +13,7 @@ def add_question(arg):
|
|||||||
d.save(1)
|
d.save(1)
|
||||||
|
|
||||||
if args['suggest']:
|
if args['suggest']:
|
||||||
from my_company.page.my_company.my_company import post_comment
|
from home.page.my_company.my_company import post_comment
|
||||||
for s in args['suggest']:
|
for s in args['suggest']:
|
||||||
if s:
|
if s:
|
||||||
post_comment({
|
post_comment({
|
||||||
@ -34,4 +34,4 @@ def vote(arg):
|
|||||||
webnotes.conn.sql("update `tab%s` set points=%s, _users_voted=%s where name=%s" % (args['dt'], '%s', '%s', '%s'), \
|
webnotes.conn.sql("update `tab%s` set points=%s, _users_voted=%s where name=%s" % (args['dt'], '%s', '%s', '%s'), \
|
||||||
(p, cstr(res[1]) + ',' + webnotes.user.name, args['dn']))
|
(p, cstr(res[1]) + ',' + webnotes.user.name, args['dn']))
|
||||||
|
|
||||||
return p
|
return p
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
if(user == 'Guest'){
|
fif(user == 'Guest'){
|
||||||
$dh(page_body.left_sidebar);
|
$dh(page_body.left_sidebar);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -476,7 +476,7 @@ pscript.go_to_account_settings = function() {
|
|||||||
else { msgprint('<a href="' + r.message + '" target="_blank">'
|
else { msgprint('<a href="' + r.message + '" target="_blank">'
|
||||||
+ 'Click here to open Account Settings in a new page</a>') }
|
+ 'Click here to open Account Settings in a new page</a>') }
|
||||||
}
|
}
|
||||||
$c_page('my_company', 'my_company', 'get_account_settings_url', '', callback)
|
$c_page('home', 'my_company', 'get_account_settings_url', '', callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
// chart of accounts
|
// chart of accounts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user