{% extends "base.html" %} {% block content %}
{% if viewing_all %}{{ t('system_overview') }} {% elif active_company %}{{ t('viewing_profile') }} {% else %}{{ view_display }}{% endif %}
{{ t('viewing_profile') }}
{{ row.machine_count }} {{ t('profile_machines') }}
{{ t('critical') }} {{ row.alert_count }} · {{ t('needs_check') }} {{ row.watch_count }} {% endfor %}| {{ t('machine_no') }} | {{ t('prev_log_day') }} | {{ t('next_log_day') }} | On {{ t('empty_amper') }} | On {{ t('loading_amper') }} | On {{ t('overload_amper') }} | Off {{ t('empty_amper') }} | {{ t('status') }} |
|---|---|---|---|---|---|---|---|
| {{ item.machine.machine_number }} {% if row.motor.label %}{{ row.motor.hp|int if row.motor.hp == row.motor.hp|int else row.motor.hp }}HP · {{ row.motor.label }}{% endif %} | {{ fmt_date(row.prev_date) if row.prev_date else '—' }} | {{ fmt_date(row.curr_date) if row.curr_date else '—' }} | {% for field in ['on_empty', 'on_loading', 'on_overload', 'off_empty'] %} {% set cell = row.fields[field] %}{% if cell.prev is none and cell.curr is none %} — {% else %} {{ cell.prev|amp if cell.prev is not none else '—' }} → {{ cell.curr|amp if cell.curr is not none else '—' }} {% endif %} | {% endfor %}{% if row.changed %}{{ t('amp_changed') }}{% else %}{{ t('same_amp') }}{% endif %} |
{{ t('no_day_compare') }}
{% endif %}| {{ t('date') }} | {{ t('day_tons') }} | {{ t('run_hours') }} | {{ t('on_off') }} | {{ t('got_day_output') }} |
|---|---|---|---|---|
| {{ row.display }} | {{ fmt_tons(row.tons) }} | {{ fmt_hours(row.hours) }} | {% if row.on_time or row.off_time %}{{ row.on_time or '—' }} – {{ row.off_time or '—' }}{% else %}—{% endif %} | {% if row.tons is none %} — {% else %} {% if row.met == 'got_output' %}{{ t('got_yes') }} {% elif row.met == 'not_yet' %}{{ t('not_yet') }} {% else %}{{ t('no_target') }}{% endif %} {% endif %} |
{{ t('no_data') }}
{% endif %}{% for code in item.health.issues[:2] %} {{ finding_text(code) }}{% if not loop.last %} {% endif %} {% endfor %}
{{ t('no_alerts') }}
{% endif %}{{ t('no_machines') }}
{% endif %}