diff --git a/dashboard/templates/overview.html b/dashboard/templates/overview.html index 0d10e1d29..6687530b7 100644 --- a/dashboard/templates/overview.html +++ b/dashboard/templates/overview.html @@ -164,7 +164,10 @@

${user_name}

-
Company: {%html company_link %}
+
Company: {%html company_link %} + [how to change↗] +
{%if launchpad_id != '' %}
Launchpad: ${launchpad_id}
{%/if%} diff --git a/dashboard/web.py b/dashboard/web.py index 97397ebf4..2805f6a03 100644 --- a/dashboard/web.py +++ b/dashboard/web.py @@ -815,8 +815,13 @@ def get_bpd(records): result = [] for record in records: if record['record_type'] in ['bpd', 'bpc']: + mention_date = record.get('mention_date') + if mention_date: + date = format_date(mention_date) + else: + date = 'never' result.append({ - 'date': format_date(record['mention_date']), + 'date': date, 'status': record['lifecycle_status'], 'metric': record.get('mention_count') or 0, 'id': record['name'],