Merge branch 'master' of https://gitea.mjm-staging.developers-homelab.net/mjm-org/ibms
This commit is contained in:
		
						commit
						2f80407373
					
				@ -80,10 +80,13 @@ namespace FrontendWebApi.Controllers
 | 
				
			|||||||
                    left join role_auth ra on ra.role_guid = us.role_guid
 | 
					                    left join role_auth ra on ra.role_guid = us.role_guid
 | 
				
			||||||
                    left join auth_page ap on ap.AuthCode = ra.AuthCode
 | 
					                    left join auth_page ap on ap.AuthCode = ra.AuthCode
 | 
				
			||||||
                    where us.userinfo_guid = '{myUserInfo.Userinfo_guid}'");
 | 
					                    where us.userinfo_guid = '{myUserInfo.Userinfo_guid}'");
 | 
				
			||||||
 | 
					                var sGetBackendUrlSql = @"SELECT system_value FROM variable WHERE system_type = 'website_config' AND system_key = 'website_url'";
 | 
				
			||||||
 | 
					                var sBackendUrl = frontendRepository.GetOneAsync<string>(sGetBackendUrlSql)?.Result;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                myUserInfo.ShowView = showview.Result;
 | 
					                myUserInfo.ShowView = showview.Result;
 | 
				
			||||||
                ViewBag.myUserInfo = myUserInfo;
 | 
					                ViewBag.myUserInfo = myUserInfo;
 | 
				
			||||||
                ViewBag.role = showview.Result;
 | 
					                ViewBag.role = showview.Result;
 | 
				
			||||||
 | 
					                ViewBag.BackendUrl = sBackendUrl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                //var showviewt = new List<string>()
 | 
					                //var showviewt = new List<string>()
 | 
				
			||||||
                //    {
 | 
					                //    {
 | 
				
			||||||
 | 
				
			|||||||
@ -607,7 +607,7 @@
 | 
				
			|||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                        <!-- app user menu -->
 | 
					                        <!-- app user menu -->
 | 
				
			||||||
                        <div>
 | 
					                        <div>
 | 
				
			||||||
                            <a href="http://60.251.164.125:8849/" target="_blank" id="go-to-setting"><i class="fal fa-cog fs-xxl"></i></a>
 | 
					                            <a href="@(ViewBag.BackendUrl ?? "#")" target="_blank" id="go-to-setting"><i class="fal fa-cog fs-xxl"></i></a>
 | 
				
			||||||
                            @*
 | 
					                            @*
 | 
				
			||||||
        <a href="#" data-toggle="dropdown" title="drlantern@gotbootstrap.com" class="header-icon d-flex align-items-center justify-content-center ml-2">
 | 
					        <a href="#" data-toggle="dropdown" title="drlantern@gotbootstrap.com" class="header-icon d-flex align-items-center justify-content-center ml-2">
 | 
				
			||||||
            <img src="~/img/demo/avatars/avatar-admin.png" class="profile-image rounded-circle" alt="Dr. Codex Lantern">
 | 
					            <img src="~/img/demo/avatars/avatar-admin.png" class="profile-image rounded-circle" alt="Dr. Codex Lantern">
 | 
				
			||||||
@ -1062,8 +1062,6 @@
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
            }, 'json');
 | 
					            }, 'json');
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            
 | 
					 | 
				
			||||||
            
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user