{% extends 'base.html' %}{% from 'macros.html' import page_header,empty with context %} {% block content %}{{ page_header(t('competitors'),t('competitors_hint')) }} {% if user.role in ['admin','analyst'] %}
{% endif %}
{% for company in companies %}
{{ company.name[0] }}

{{ company.name }}

{{ t('website') }} ↗

{{ t(company.status) }}

{{ t('last_update') }}: {{ company.updated[:16]|replace('T',' ') if company.updated else t('date_unknown') }} UTC
{% else %}{{ empty() }}{% endfor %}

{{ t('alerts') }}

{% for item in changes %}

{{ item.name }}

{{ day(item.created) }}

{{ t('change') }}

{{ t('change_hint') }}

{{ t('why_important') }}

{{ t('hypothesis') }}

{{ t('reaction') }}

{{ t('reaction_hint') }}

{{ t('original') }} ↗
{{ t('details') }}

{{ t('previous') }}

{{ item.previous }}

{{ t('current') }}

{{ item.current }}

{% else %}{{ empty() }}{% endfor %}{% endblock %}