mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Right-justify numbers on /activity.
(imported from commit 11f167626fc3f1338143fc1cf68a1bb1663a93b9)
This commit is contained in:
		@@ -75,7 +75,7 @@ def get_realm_day_counts():
 | 
				
			|||||||
    result = {}
 | 
					    result = {}
 | 
				
			||||||
    for domain in counts:
 | 
					    for domain in counts:
 | 
				
			||||||
        cnts = [counts[domain].get(age, 0) for age in reversed(range(8))]
 | 
					        cnts = [counts[domain].get(age, 0) for age in reversed(range(8))]
 | 
				
			||||||
        cnts = ''.join('<td>%s</td>' % (cnt,) for cnt in cnts)
 | 
					        cnts = ''.join('<td class="number">%s</td>' % (cnt,) for cnt in cnts)
 | 
				
			||||||
        result[domain] = dict(cnts=cnts)
 | 
					        result[domain] = dict(cnts=cnts)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return result
 | 
					    return result
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user