mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	activity: Add separate page for remote server information/table.
Moves the "Remote Zulip servers" tab in the "/activity" page for an installation to a separate page, "/activity/remote". Prototype for moving other tabs in "/activity" to separate pages.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							91f81d3962
						
					
				
				
					commit
					afc1d2a409
				
			@@ -31,10 +31,14 @@ class ActivityTest(ZulipTestCase):
 | 
			
		||||
        user_profile.is_staff = True
 | 
			
		||||
        user_profile.save(update_fields=["is_staff"])
 | 
			
		||||
 | 
			
		||||
        with self.assert_database_query_count(18):
 | 
			
		||||
        with self.assert_database_query_count(17):
 | 
			
		||||
            result = self.client_get("/activity")
 | 
			
		||||
            self.assertEqual(result.status_code, 200)
 | 
			
		||||
 | 
			
		||||
        with self.assert_database_query_count(4):
 | 
			
		||||
            result = self.client_get("/activity/remote")
 | 
			
		||||
            self.assertEqual(result.status_code, 200)
 | 
			
		||||
 | 
			
		||||
        with self.assert_database_query_count(8):
 | 
			
		||||
            result = self.client_get("/realm_activity/zulip/")
 | 
			
		||||
            self.assertEqual(result.status_code, 200)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user