{% extends "base.html" %} {% block title %}{% if multi_user_enabled and not is_logged_in %}{{ _("index.page_title_public") }}{% else %}{{ _("index.page_title_dashboard") }}{% endif %}{% endblock %} {% block content %}
{% if multi_user_enabled and not is_logged_in %} {# ══════════════════════════════════════════════════════════════════════════ #} {# PUBLIC LANDING PAGE (multi-user, visitor not signed in) #} {# ══════════════════════════════════════════════════════════════════════════ #}
{{ _("index.badge_intelligent") }}

{{ _("index.hero_heading") }}

{{ _("index.hero_description") }}

{{ _("index.feature_section_title") }}

{{ _("index.feature_ocr") }}

{{ _("index.feature_ocr_desc") }}

{{ _("index.feature_ai") }}

{{ _("index.feature_ai_desc") }}

{{ _("index.feature_cloud") }}

{{ _("index.feature_cloud_desc") }}

{{ _("index.feature_email") }}

{{ _("index.feature_email_desc") }}

{{ _("index.feature_search") }}

{{ _("index.feature_search_desc") }}

{{ _("index.feature_pipelines") }}

{{ _("index.feature_pipelines_desc") }}

{{ _("index.cta_heading") }}

{{ _("index.cta_description") }}

{% elif multi_user_enabled %} {# ══════════════════════════════════════════════════════════════════════════ #} {# MULTI-USER / SAAS DASHBOARD (logged-in user) #} {# ══════════════════════════════════════════════════════════════════════════ #}

DocuElevate

{{ _("index.dashboard_subtitle_teams") }}

{% if is_admin %}

{{ _("index.platform_overview") }}

{{ stats.processed_files | default(0) }}

{{ _("index.stat_total_files") }}

{{ stats.files_today | default(0) }}

{{ _("index.stat_files_today") }}

{{ stats.files_month | default(0) }}

{{ _("index.stat_files_month") }}

{{ stats.unique_users | default(0) }}

{{ _("index.stat_active_users") }}

{% endif %} {% if user_tier and user_usage %}

{{ _("index.usage_my_usage") }}

{{ user_tier.name }} {{ _("index.tier_plan") }} {% if user_tier.id != 'business' %} {{ _("index.tier_upgrade") }} {% endif %}
{{ _("index.tier_view_details") }} →
{{ _("index.usage_lifetime") }} {{ user_usage.lifetime }}{% if user_tier.lifetime_file_limit > 0 %} / {{ user_tier.lifetime_file_limit }}{% endif %}
{% if user_tier.lifetime_file_limit > 0 %} {% set pct = ([((user_usage.lifetime / user_tier.lifetime_file_limit) * 100) | int, 100] | min) %}
{% else %}
{{ _("index.usage_unlimited") }}
{% endif %}
{{ _("index.usage_today") }} {{ user_usage.today }}{% if user_tier.daily_upload_limit > 0 %} / {{ user_tier.daily_upload_limit }}{% endif %}
{% if user_tier.daily_upload_limit > 0 %} {% set pct = ([((user_usage.today / user_tier.daily_upload_limit) * 100) | int, 100] | min) %}
{% else %}
{{ _("index.usage_unlimited") }}
{% endif %}
{{ _("index.usage_month") }} {{ user_usage.month }}{% if user_tier.monthly_upload_limit > 0 %} / {{ user_tier.monthly_upload_limit }}{% endif %}
{% if user_tier.monthly_upload_limit > 0 %} {% set pct = ([((user_usage.month / user_tier.monthly_upload_limit) * 100) | int, 100] | min) %}
{% else %}
{{ _("index.usage_unlimited") }}
{% endif %}
{% endif %}

{{ _("index.processing_stats") }}

  • {{ _("index.stat_total_processed") }} {{ stats.processed_files | default(0) }}
  • {{ _("index.stat_files_ocr") }} {{ stats.files_with_ocr | default(0) }}
  • {{ _("index.stat_today") }} {{ stats.files_today | default(0) }}
  • {{ _("index.stat_this_month") }} {{ stats.files_month | default(0) }}
{% if user_tier and user_tier.id != 'business' %}

{{ _("index.upgrade_plan") }}

{{ _("index.upgrade_description") }}

  • {{ _("index.upgrade_daily_limits") }}
  • {{ _("index.upgrade_destinations") }}
  • {{ _("index.upgrade_ocr_pages") }}
{{ _("index.upgrade_view_pricing") }}
{% else %}

{{ _("index.integrations_title") }}

{{ _("index.integrations_active") }} {{ stats.active_integrations | default(0) }}
{{ _("index.integrations_storage") }} {{ stats.storage_targets | default(0) }}
{{ _("index.integrations_view_status") }}
{% endif %}
{% else %} {# ══════════════════════════════════════════════════════════════════════════ #} {# SINGLE-USER DASHBOARD (original layout, preserved as-is) #} {# ══════════════════════════════════════════════════════════════════════════ #}

{{ _("index.single_user_heading") }}

{{ _("index.dashboard_subtitle") }}

{{ stats.processed_files | default(0) }}

{{ _("index.stat_documents_processed") }}

{{ stats.active_integrations | default(0) }}

{{ _("index.stat_active_integrations") }}

{{ stats.storage_targets | default(0) }}

{{ _("index.stat_storage_targets") }}

{{ _("index.capabilities_title") }}

  • {{ _("index.capabilities_ocr") }}
  • {{ _("index.capabilities_cloud") }}
  • {{ _("index.capabilities_paperless") }}
  • {{ _("index.capabilities_ingestion") }}
  • {{ _("index.capabilities_workflows") }}

{{ _("index.getting_started") }}

  1. 1 {{ _("index.getting_started_1_pre") }}{{ _("index.quick_system_status") }}
  2. 2 {{ _("index.button_upload") }}{{ _("index.getting_started_2_post") }}
  3. 3 {{ _("index.getting_started_3_pre") }}{{ _("index.link_files") }}
{{ _("index.getting_started_learn") }}
{% endif %}{# end multi_user_enabled #}
{% endblock %}