<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
     <template id="website_twitter_snippet" name="Twitter snippet" inherit_id="website.snippets">
        <xpath expr="//div[@id='snippet_feature']" position="inside">
            <div>
                <div class="oe_snippet_thumbnail">
                    <img class="oe_snippet_thumbnail_img" src="/website_twitter/static/src/img/twitter_scroll.png"/>
                    <span class="oe_snippet_thumbnail_title">Twitter Scroller</span>
                </div>
                <section class="oe_snippet_body twitter" data-screen-name="OpenERP" data-limit="15">
                    <div class="twitter_timeline" contenteditable="false"></div>
                </section>
            </div>
        </xpath>
    </template>
    <template id="website_twitter_options" name="Twitter Options" inherit_id="website.snippet_options">
        <xpath expr="//div" position="after">
            <div data-snippet-option-id='twitter'
                data-selector=".twitter"
                data-selector-children=".oe_structure, [data-oe-type=html]">
            </div>
        </xpath>
    </template>
    <template id="twitter" inherit_id="website.assets_frontend" name="Twitter Snippet">
        <xpath expr="/t" position="inside">
            <link rel="stylesheet" href="/website_twitter/static/src/css/website.twitter.css"  type="text/css"/>
            <script type="text/javascript" src="/website_twitter/static/src/js/website.twitter.animation.js"/>
        </xpath>
    </template>
    <template id="twitter_editor" inherit_id="website.assets_editor" name="Twitter options">
        <xpath expr="/t" position="inside">
            <script type="text/javascript" src="/website_twitter/static/src/js/website.twitter.editor.js"/>
        </xpath>
    </template>
</data>
</openerp>
