<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="unsubscribe">
        <div class="container o_unsubscribe_form">
            <div class="row">
                <form action="/mail/mailing/unsubscribe" method="POST" id="unsubscribe_form">
                    <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                    <input type="hidden" name="email" t-att-value="email"/>
                    <input type="hidden" name="mailing_id" t-att-value="mailing_id"/>

                    <div class="col-md-6 col-md-offset-3">

                        <h1 class="page-header">Mailing Subscriptions</h1>

                        <t t-if="contacts">
                            <div class="alert alert-info text-center">
                                <p>Choose your mailing subscriptions.</p>
                            </div>

                            <ul class="list-group">
                                <t t-foreach="contacts" t-as="contact">
                                    <li class="list-group-item">
                                        <input type="checkbox" class="mail_list_checkbox" name="contact_ids"
                                            t-att-value="contact['id']" t-att-checked="'checked' if contact['opt_out'] == False else None"/>
                                        <t t-foreach="contact.list_ids" t-as="contact_list">
                                            <t t-esc="contact_list.name"/> 
                                        </t>
                                    </li>
                                </t>
                            </ul>

                            <div class="text-center mb16">
                                <input type="submit" id="send_form" class="btn btn-primary" value="Update my subscriptions"/>
                            </div>
                        </t>

                        <t t-if="contacts == False">
                            <div class="alert alert-info text-center">
                                <p>You are not subscribed to any of our mailing list.</p>
                            </div>
                        </t>
                    </div>
                </form>
            </div>
        </div>
    </template>

    <template id="unsubscribed">
        <div class="container mt8">
            <div class="row">
                <div class="col-md-6 col-md-offset-3">
                    <h1 class="page-header">Mailing Subscriptions</h1>

                    <div class="alert alert-success text-center">
                        <p>Your changes have been saved.</p>
                    </div>
                </div>
            </div>
        </div>
    </template>

    <template id="page_unsubscribe" name="Unsubscribe">
        <t t-call="website.layout">
            <t t-call="website_mass_mailing.unsubscribe"/>
        </t>
    </template><commit_msg>[IMP] website_mass_mailing: make wording clearer after unsub<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="unsubscribe">
        <div class="container o_unsubscribe_form">
            <div class="row">
                <form action="/mail/mailing/unsubscribe" method="POST" id="unsubscribe_form">
                    <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                    <input type="hidden" name="email" t-att-value="email"/>
                    <input type="hidden" name="mailing_id" t-att-value="mailing_id"/>

                    <div class="col-md-6 col-md-offset-3">

                        <h1 class="page-header">Mailing Subscriptions</h1>

                        <t t-if="contacts">
                            <div class="alert alert-info text-center">
                                <p>Choose your mailing subscriptions.</p>
                            </div>

                            <ul class="list-group">
                                <t t-foreach="contacts" t-as="contact">
                                    <li class="list-group-item">
                                        <input type="checkbox" class="mail_list_checkbox" name="contact_ids"
                                            t-att-value="contact['id']" t-att-checked="'checked' if contact['opt_out'] == False else None"/>
                                        <t t-foreach="contact.list_ids" t-as="contact_list">
                                            <t t-esc="contact_list.name"/> 
                                        </t>
                                    </li>
                                </t>
                            </ul>

                            <div class="text-center mb16">
                                <input type="submit" id="send_form" class="btn btn-primary" value="Update my subscriptions"/>
                            </div>
                        </t>

                        <t t-if="contacts == False">
                            <div class="alert alert-info text-center">
                                <p>You are not subscribed to any of our mailing list.</p>
                            </div>
                        </t>
                    </div>
                </form>
            </div>
        </div>
    </template>

    <template id="unsubscribed">
        <div class="container mt8">
            <div class="row">
                <div class="col-md-6 col-md-offset-3">
                    <h1 class="page-header">Mailing Subscriptions</h1>

                    <div class="alert alert-success text-center">
                        <p>You have been successfully <strong>unsubscribed</strong>!</p>
                    </div>
                </div>
            </div>
        </div>
    </template>

    <template id="page_unsubscribe" name="Unsubscribe">
        <t t-call="website.layout">
            <t t-call="website_mass_mailing.unsubscribe"/>
        </t>
    </template>
{'fraction_non_alphanumeric': 0.12973883740522324, 'fraction_numerical': 0.004717775905644482, 'mean_word_length': 1.1042183622828785, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 2, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2979215', 'n_tokens_mistral': 1518, 'n_tokens_neox': 1432, 'n_words': 293}