Convert tabs to details for timesheet's mobile templates

This commit is contained in:
Hadi Nategh 2023-01-19 12:20:17 +01:00
parent 9e1b21e5e3
commit 1d43684418
2 changed files with 22 additions and 21 deletions

View File

@ -136,22 +136,23 @@
<et2-select statustext="select a status of the timesheet" id="ts_status" emptyLabel="please select"></et2-select> <et2-select statustext="select a status of the timesheet" id="ts_status" emptyLabel="please select"></et2-select>
</row> </row>
<row> <row>
<et2-tabbox id="tabs" span="all" width="100%" alignTabs="v"> <et2-vbox span="all" width="100%">
<tabs> <et2-details id="notes" summary="Description">
<tab id="notes" label="Description"/>
<tab id="general" label="Details"/>
<tab id="links" label="Links"/>
<tab id="customfields" label="Custom Fields"/>
<tab id="ownership" label="Ownership"/>
</tabs>
<tabpanels class="dialog-main-timeframe">
<template id="timesheet.edit.notes"/> <template id="timesheet.edit.notes"/>
</et2-details>
<et2-details id="general" summary="Details">
<template id="timesheet.edit.general"/> <template id="timesheet.edit.general"/>
</et2-details>
<et2-details id="links" summary="Links">
<template id="timesheet.edit.links"/> <template id="timesheet.edit.links"/>
</et2-details>
<et2-details id="customfields" summary="Custom Fields">
<template id="timesheet.edit.customfields"/> <template id="timesheet.edit.customfields"/>
</et2-details>
<et2-details id="ownership" summary="Ownership">
<template id="timesheet.edit.ownership"/> <template id="timesheet.edit.ownership"/>
</tabpanels> </et2-details>
</et2-tabbox> </et2-vbox>
</row> </row>
</rows> </rows>
</grid> </grid>

View File

@ -118,20 +118,20 @@
<et2-select statustext="select a status of the timesheet" id="ts_status" emptyLabel="please select"></et2-select> <et2-select statustext="select a status of the timesheet" id="ts_status" emptyLabel="please select"></et2-select>
</row> </row>
<row> <row>
<et2-tabbox id="tabs" span="all" width="100%" alignTabs="v"> <et2-vbox span="all" width="100%">
<tabs> <et2-details id="notes" summary="Description">
<tab id="notes" label="Description"/>
<tab id="general" label="Details"/>
<tab id="customfields" label="Custom Fields"/>
<tab id="ownership" label="Ownership"/>
</tabs>
<tabpanels class="dialog-main-timeframe">
<template id="timesheet.view.notes"/> <template id="timesheet.view.notes"/>
</et2-details>
<et2-details id="general" summary="Details">
<template id="timesheet.view.general"/> <template id="timesheet.view.general"/>
</et2-details>
<et2-details id="customfields" summary="Custom Fields">
<template id="timesheet.view.customfields"/> <template id="timesheet.view.customfields"/>
</et2-details>
<et2-details id="ownership" summary="Ownership">
<template id="timesheet.view.ownership"/> <template id="timesheet.view.ownership"/>
</tabpanels> </et2-details>
</et2-tabbox> </et2-vbox>
</row> </row>
</rows> </rows>
</grid> </grid>