feat(main_menu): added user name

!1
This commit is contained in:
2023-08-10 11:15:57 +00:00
parent dc8fa69090
commit b45bd8f703

View File

@ -4097,7 +4097,7 @@
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "<fieldset id=\"form\" style=\"width: 400px;\">\n <legend style=\"text-align: left;\"><h2>My Account</h2></legend>\n\n{{#global.config.developer_mode}}\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}details';\">My Details</button>\n{{/global.config.developer_mode}}\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}changepassword';\">Change Password</button>\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}passwordreset';\">Password Reset</button>\n{{#global.config.developer_mode}}\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}passwordquestions';\">Password Reset Questions</button>\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}logout';\">Log Out</button>\n{{/global.config.developer_mode}}\n\n</fieldset>",
"template": "<fieldset id=\"form\" style=\"width: 400px;\">\n <legend style=\"text-align: left;\"><h2>Main Menu</h2></legend>\n\n <p style=\"text-align: left;\">G'Day {{{ auth.user.fname}}}</p>\n\n{{#global.config.developer_mode}}\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}details';\">My Details</button>\n{{/global.config.developer_mode}}\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}changepassword';\">Change Password</button>\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}passwordreset';\">Password Reset</button>\n{{#global.config.developer_mode}}\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}passwordquestions';\">Password Reset Questions</button>\n <button id=\"navigation\" onclick=\"window.location.href='/{{{ global.config.http_path }}}logout';\">Log Out</button>\n{{/global.config.developer_mode}}\n\n</fieldset>",
"x": 450,
"y": 340,
"wires": [