<commit_before>{% extends 'AppBundle:Layouts:application.html.twig' %}

{% set translationDomain = "report" %}
{% trans_default_domain translationDomain %}
{% set page = 'homepage' %}

{% block htmlTitle %}{{ (page ~ '.htmlTitle') | trans }}{% endblock %}
{% block pageTitle %}{{ (page ~ '.pageTitle') | trans }}{% endblock %}

{% block supportTitleBottom %}
    <span class="heading-secondary">{{ client.firstname }} {{ client.lastname }}</span>
{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block pageContent %}

    <h2 class="heading-large">{{ 'currentDeputyReport' | trans({}, 'common') }}</h2>

    {% set status = reportActive.status.status %}
    {% set statusClass = 'notStarted' == status ? 'not-started' : 'incomplete' %}

    <div class="card soft-half">
        <span class="status status-corner {{ statusClass }}">{{ (status) | trans({}, 'common') }}</span>
        <h3 class="heading-medium flush--ends">
            <a href="{{ path('report_overview', {'reportId': reportActive.id}) }}">
                {{ reportActive.getPeriod() }} report
            </a>
        </h3>
        <div class="card-body">
            <p>
                <strong class="bold">{{ 'dueDate' | trans({}, 'common') }}: </strong>
                {{ reportActive.dueDate | date(" d F Y") }}
            </p>
            <a href="{{ path('lay_home', {'reportId': reportActive.id, 'type': reportActive.type}) }}">{{ (page ~ '.editReportingPeriod') | trans }}</a>
        </div>
        {% set buttonText = reportActive ? 'continue' : 'startNow' %}
        <div class="card-actions"><commit_msg>DDPB-1551 CTA showing 'Start now' for when not started<commit_after>{% extends 'AppBundle:Layouts:application.html.twig' %}

{% set translationDomain = "report" %}
{% trans_default_domain translationDomain %}
{% set page = 'homepage' %}

{% block htmlTitle %}{{ (page ~ '.htmlTitle') | trans }}{% endblock %}
{% block pageTitle %}{{ (page ~ '.pageTitle') | trans }}{% endblock %}

{% block supportTitleBottom %}
    <span class="heading-secondary">{{ client.firstname }} {{ client.lastname }}</span>
{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block pageContent %}

    <h2 class="heading-large">{{ 'currentDeputyReport' | trans({}, 'common') }}</h2>

    {% set status = reportActive.status.status %}
    {% set statusClass = 'notStarted' == status ? 'not-started' : 'incomplete' %}

    <div class="card soft-half">
        <span class="status status-corner {{ statusClass }}">{{ (status) | trans({}, 'common') }}</span>
        <h3 class="heading-medium flush--ends">
            <a href="{{ path('report_overview', {'reportId': reportActive.id}) }}">
                {{ reportActive.getPeriod() }} report
            </a>
        </h3>
        <div class="card-body">
            <p>
                <strong class="bold">{{ 'dueDate' | trans({}, 'common') }}: </strong>
                {{ reportActive.dueDate | date(" d F Y") }}
            </p>
            <a href="{{ path('lay_home', {'reportId': reportActive.id, 'type': reportActive.type}) }}">{{ (page ~ '.editReportingPeriod') | trans }}</a>
        </div>
        {% set buttonText = reportActive.status.status != 'notStarted' ? 'continue' : 'startNow' %}
        <div class="card-actions">
{'fraction_non_alphanumeric': 0.2056389825314128, 'fraction_numerical': 0.003677597303095311, 'mean_word_length': 3.08, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3137590', 'n_tokens_mistral': 1039, 'n_tokens_neox': 971, 'n_words': 224}