odoo/addons/website_hr/views/website_hr.xml

50 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Layout add nav and footer -->
<record id="footer_hr_mail" model="ir.ui.view">
<field name="name">footer_website_hr</field>
<field name="inherit_id" ref="website.footer"/>
<field name="arch" type="xml">
<data>
<xpath expr="//a[@href='/page/website.contactus']" position="after">
<li><a href="/team">Team</a></li>
</xpath>
</data>
</field>
</record>
<!-- Page -->
<template id="index">
<t t-call="website.layout">
<t t-set="head">
<script type="text/javascript" src="/website_mail/static/src/js/blog.js"></script>
<link rel='stylesheet' href='/website_mail/static/src/css/blog.css'/>
<t t-raw="head"/>
</t>
<t t-set="title">Team</t>
<div class="container mt48">
<ul class="media-list">
<t t-foreach="employee_ids">
<!-- TODO: check qweb iteration -->
<li class="media pull-left">
<div t-att-class="'media-body %%s' %% (website_important and 'css_important' or '')">
<a href="#" t-att-data-id="id" class="js_important pull-right" groups="group_website_mail_manager">
<span class="label label-success">Unpublish</span>
<span class="label label-important">Publish</span>
</a>
<t t-raw="image"/>
<t t-raw="name"/>
</div>
</li>
</t>
</ul>
</div>
</t>
</template>
</data>
</openerp>