activity: Rename standard free to open source.

"standard free" looks too similar to "standard". Also it makes it hard to
Ctr+f for "standard".
This commit is contained in:
Rishi Gupta
2018-11-16 21:03:33 -08:00
parent 0670976cb1
commit 91b02373dc

View File

@@ -478,7 +478,7 @@ def realm_summary_table(realm_minutes: Dict[str, float]) -> str:
for row in rows:
row['date_created_day'] = row['date_created'].strftime('%Y-%m-%d')
row['plan_type_string'] = [
'', 'self hosted', 'limited', 'standard', 'standard free'][row['plan_type']]
'', 'self hosted', 'limited', 'standard', 'open source'][row['plan_type']]
row['age_days'] = int((now - row['date_created']).total_seconds()
/ 86400)
row['is_new'] = row['age_days'] < 12 * 7