{% extends "base.html" %} {% import "macros.html" as m %} {# filter_columns are the columns shown, in order: the defaults, or layout.toml's [companies] columns (help: adjust-layout). #} {% block title %}Companies{% endblock %} {% block content %}

Companies ({{ companies | length }}){% if q %} matching “{{ q }}”{% endif %}

New company Import

{{ m.filter_form('company-filters', '/companies', active, q, sort, dir) }} {% if show_parked %}Hide temp disqualified{% else %}Show temp disqualified ({{ hidden_parked }}){% endif %} {% if show_parked %}{% endif %}
{% for col in filter_columns %}{% if col.key == 'links' %}{% else %}{% endif %}{% endfor %}{% for col in filter_columns %}{% endfor %} {%- set custom = custom_fields_for('company') %} {% for c in companies %} {%- set nxt = c.next_todo() %} {%- for col in filter_columns %} {%- if col.key == 'name' %} {%- elif col.key == 'country' %} {%- elif col.key == 'stage' %} {%- elif col.key == 'source' %} {%- elif col.key == 'tags' %} {%- elif col.key == 'last_touch' %} {%- elif col.key == 'next_step' %} {{ nxt.text if nxt else '' }}{% if nxt and nxt.done %} (done){% endif %} {%- elif col.key == 'next_type' %} {%- elif col.key == 'next_step_due' %} {%- elif col.key == 'links' %} {%- else %} {%- endif %} {%- endfor %} {% else %} {% endfor %}
links{{ col.label }} {{ m.sort_links(col, sort, dir, sort_url) }}
{% if col.key != 'links' %}{{ m.filter_control(col, active, 'company-filters') }}{% endif %}
{{ c.name }}{{ c.country }}{{ c.stage }}{% if c.requalify_on %} until {{ fmt_date(c.requalify_on) }}{% endif %}{{ c.source }}{{ c.tags | join(', ') }}{{ c.last_touch_summary }}{{ m.type_chip(nxt.type if nxt and not nxt.done else '') }}{{ fmt_date(c.next_due) }}{% for f in custom if f.key == col.key %}{{ f.display(c.extra.get(f.key)) }}{% endfor %}
No companies.
{% endblock %}