<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="portal_my_ti" name="Tecnologias de la información">
        <t t-call="portal.portal_layout">
            <t t-set="my_details" t-value="True"/>
            <div class="o_portal_my_home">
                <div class="oe_structure" id="oe_structure_portal_my_ti_1"/>
                <h3>Mesa de Ayuda</h3>
                <div id="portal_cards" class="o_portal_docs row" >
                    <t t-call="portal.portal_docs_entry">
                        <t t-set="title">Soporte Técnico</t>
                        <t t-set="url" t-value="'/my/soporte'" />
                        <t t-set="count" t-value="support_count" />
                        <t t-set="desc" t-value="'Obtenga Ayuda de TI'"/>
                        <t t-set="avatar" t-value="'/helpdesk_morsa/static/src/img/support.svg'"/>
                        <t t-set="background" t-value="'/helpdesk_morsa/static/src/img/support_back.svg'"/>
                    </t>
                    <t t-if="request.env.user.is_erp_user">
                        <t t-call="portal.portal_docs_entry" >
                            <t t-set="title">Mejora o Asistencia ERP</t>
                            <t t-set="url" t-value="'/my/erp'" />
                            <t t-set="count" t-value="erp_count" />
                            <t t-set="desc" t-value="'Soporte o Mejoras Odoo'"/>
                            <t t-set="avatar" t-value="'/helpdesk_morsa/static/src/img/erp.svg'"/>
                            <t t-set="background" t-value="'/helpdesk_morsa/static/src/img/erp_back.svg'"/>
                        </t>
                    </t>
                    <t t-if="request.env.user.is_911_user">
                        <t t-call="portal.portal_docs_entry">
                            <t t-set="title">TI 911</t>
                            <t t-set="url" t-value="'/my/911'" />
                            <t t-set="count" t-value="ti_count" />
                            <t t-set="desc" t-value="'Emergerncias'"/>
                            <t t-set="avatar" t-value="'/helpdesk_morsa/static/src/img/emergency.svg'"/>
                            <t t-set="background" t-value="'/helpdesk_morsa/static/src/img/emergency_back.svg'"/>
                        </t>
                    </t>
                </div>
            </div>
            <div class="oe_structure" id="oe_structure_portal_my_ti_2"/>
        </t>
    </template>
</odoo>