<commit_before>@*
* Copyright 2016 HM Revenue & Customs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*@

@(calculationResponse:CalculationResponse)(implicit request: Request[_])

@import play.i18n._
@import config.ApplicationConfig.globalErrors
@import org.joda.time.LocalDate

<div class="grid" id="multi-error-grid">
    <div class="grid-2-3">
        <div class="global-error">

            <h1 id="part-problem">@{ Messages.get("gmp.part_problem") }</h1>
            <br/>

            <ul>
                @for((period, count) <- calculationResponse.calculationPeriods.zipWithIndex) {
                <li>
                    @if(period.errorCode > 0) {
                        <a href="#reason-@count" class="error-list" id="from-to-error-@count">
                            @{ new LocalDate(period.startDate.get).toString("dd/MM/yyyy") } to @{ new LocalDate(period.endDate).toString("dd/MM/yyyy") }: @Messages.get("gmp.unavailable")
                        </a>
                    }
                </li>
                }
            </ul>
            <br/>
            @includes.multi_results_table(calculationResponse)
            <div>
                <h3 id="what-now">@Messages.get("gmp.what_now")</h3>

                <p id="multi-solution">@Messages.get("gmp.queryhandling.resultsmessage")</p>
            </div>
        </div>
    </div>

    @includes.print_page()

</div>

@includes.survivor_disclaimer(calculationResponse.calcType == CalculationType.SURVIVOR.toInt)

@includes.conts_and_earnings_link(calculationResponse)<commit_msg>Updated 'What now' on multi results to be an H2<commit_after>@*
* Copyright 2016 HM Revenue & Customs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*@

@(calculationResponse:CalculationResponse)(implicit request: Request[_])

@import play.i18n._
@import config.ApplicationConfig.globalErrors
@import org.joda.time.LocalDate

<div class="grid" id="multi-error-grid">
    <div class="grid-2-3">
        <div class="global-error">

            <h1 id="part-problem">@{ Messages.get("gmp.part_problem") }</h1>
            <br/>

            <ul>
                @for((period, count) <- calculationResponse.calculationPeriods.zipWithIndex) {
                <li>
                    @if(period.errorCode > 0) {
                        <a href="#reason-@count" class="error-list" id="from-to-error-@count">
                            @{ new LocalDate(period.startDate.get).toString("dd/MM/yyyy") } to @{ new LocalDate(period.endDate).toString("dd/MM/yyyy") }: @Messages.get("gmp.unavailable")
                        </a>
                    }
                </li>
                }
            </ul>
            <br/>
            @includes.multi_results_table(calculationResponse)
            <div>
                <h2 id="what-now">@Messages.get("gmp.what_now")</h2>

                <p id="multi-solution">@Messages.get("gmp.queryhandling.resultsmessage")</p>
            </div>
        </div>
    </div>

    @includes.print_page()

</div>

@includes.survivor_disclaimer(calculationResponse.calcType == CalculationType.SURVIVOR.toInt)

@includes.conts_and_earnings_link(calculationResponse)
{'fraction_non_alphanumeric': 0.12831644958996624, 'fraction_numerical': 0.00844187168355041, 'mean_word_length': 2.496627318718381, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '356378', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1185, 'n_words': 288}