<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="website_config_settings_view_form_inherit_website_twitter" model="ir.ui.view">
        <field name="name">website.config.settings.form.inherit.twitter</field>
        <field name="model">website.config.settings</field>
        <field name="inherit_id" ref="website.website_config_settings_view_form"/>
        <field name="arch" type="xml">
            <div id="msg_twitter_roller_install_setting" position="replace">
                <div class="content-group" attrs="{'invisible': [('module_website_twitter', '=', False)]}">
                    <div class="mt16">
                        <div class="row">
                            <label class="col-md-3 o_light_label" string="API Key" for="twitter_api_key"/>
                            <field name="twitter_api_key" class="oe_inline"/>
                        </div>
                        <div class="row">
                            <label class="col-md-3 o_light_label" string="API secret" for="twitter_api_secret"/>
                            <field name="twitter_api_secret" class="oe_inline"/>
                        </div>
                        <div class="row">
                            <label class="col-md-3 o_light_label" string="Favorites From" for="twitter_screen_name"/>
                            <field name="twitter_screen_name" class="oe_inline"/>
                        </div>
                        <div>
                            <a data-toggle="modal" class="oe_link fa fa-arrow-right" href="#" data-target="#twitter_tutorial">
                                Tutorial
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <form class="oe_form_configuration">
                <div id="twitter_tutorial" class="modal fade" role="dialog" tabindex="-1">
                    <div class="modal-dialog" role="document">
                        <div class="modal-content">
                            <div class="modal-header">
                                <a class="close" data-dismiss="modal" aria-hidden="true">×</a>
                                <h3 class="modal-title">How to configure the Twitter API access</h3>
                            </div>
                            <div class="modal-body">
                                <ol>
                                    <li>Create a new Twitter application on <a href="https://apps.twitter.com/" target="new">
                                            https://apps.twitter.com/
                                        </a>
                                        with the following values:
                                       <ul>
                                          <li><strong>Name: </strong> Odoo Tweet Scroller</li>
                                          <li><strong>Description: </strong> Odoo Tweet Scroller </li>
                                          <li><strong>Website: </strong> <tt>https://www.odoo.com</tt></li>
                                          <li><strong>Callback URL: </strong> leave it blank</li>
                                          <li>Accept terms of use and click on the Create button at the bottom</li>
                                       </ul>
                                    </li>
                                    <li>Switch to the API Keys tab: <br/>
                                        <img src='/website_twitter/static/src/img/api_key.png'/>
                                    </li>
                                    <li>Copy/Paste API Key and Secret below</li>
                                    <li>Enter the screen name from which you want to load favorite Tweets (does not need to be the same as the API keys)</li>
                                </ol>
                            </div>
                            <div class="modal-footer">
                                <a type="button" class="btn btn-primary" data-dismiss="modal">Close</a>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </field>
    </record>
</odoo><commit_msg>[REF] website_twitter: remove modal xml from view<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="website_config_settings_view_form_inherit_website_twitter" model="ir.ui.view">
        <field name="name">website.config.settings.form.inherit.twitter</field>
        <field name="model">website.config.settings</field>
        <field name="inherit_id" ref="website.website_config_settings_view_form"/>
        <field name="arch" type="xml">
            <div id="msg_twitter_roller_install_setting" position="replace">
                <div class="content-group" attrs="{'invisible': [('module_website_twitter', '=', False)]}">
                    <div class="mt16">
                        <div class="row">
                            <label class="col-md-3 o_light_label" string="API Key" for="twitter_api_key"/>
                            <field name="twitter_api_key" class="oe_inline"/>
                        </div>
                        <div class="row">
                            <label class="col-md-3 o_light_label" string="API secret" for="twitter_api_secret"/>
                            <field name="twitter_api_secret" class="oe_inline"/>
                        </div>
                        <div class="row">
                            <label class="col-md-3 o_light_label" string="Favorites From" for="twitter_screen_name"/>
                            <field name="twitter_screen_name" class="oe_inline"/>
                        </div>
                        <div>
                            <a class="oe_link" href="https://www.odoo.com/documentation/user/11.0/discuss/mail_twitter.html" target="_blank">
                                <i class="fa fa-arrow-right"/> Tutorial
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </field>
    </record>
</odoo>
{'fraction_non_alphanumeric': 0.12259537006847082, 'fraction_numerical': 0.0035865666775350504, 'mean_word_length': 1.2044556234279555, 'pattern_counts': {'":': 0, '<': 128, '<?xml version=': 2, '>': 128, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 5}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 29, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4892002', 'n_tokens_mistral': 1524, 'n_tokens_neox': 1453, 'n_words': 300}