Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • e8bced74e2e4430e6af38e1e92402dbdc2b75732
  • 14.0 par défaut
  • 13.0
  • 12.0 protégée
4 résultats

README.rst

Blame
  • month_timesheet.xml 842 o
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Copyright 2019 Le Filament (<https://www.le-filament.com>)
         License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
    
    <templates xml:space="preserve">
    	<t t-name="ScopMonthTimesheet">
    		<table class="table">
    			<thead>
    				<tr>
    					<t t-foreach="widget.values.month" t-as="m">
    						<t t-if="m.num_month == widget.values.today.month and m.year == widget.values.today.year">
    							<th class="text-success">
    								<t t-esc="m.month"/> <t t-esc="m.year"/>
    							</th>
    						</t>
    						<t t-else="">
    							<th>
    								<t t-esc="m.month"/> <t t-esc="m.year"/>
    							</th>
    						</t>
    					</t>
    				</tr>
    			</thead>
    			<tbody>
    				<tr>
    					<t t-foreach="widget.values.values" t-as="v">
    						<td><t t-esc="v"/> h</td>
    					</t>
    				</tr>
    			</tbody>
    		</table>
    
    	</t>
    </templates>