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>
</row>
<row>
<et2-tabbox id="tabs" span="all" width="100%" alignTabs="v">
<tabs>
<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">
<et2-vbox span="all" width="100%">
<et2-details id="notes" summary="Description">
<template id="timesheet.edit.notes"/>
</et2-details>
<et2-details id="general" summary="Details">
<template id="timesheet.edit.general"/>
</et2-details>
<et2-details id="links" summary="Links">
<template id="timesheet.edit.links"/>
</et2-details>
<et2-details id="customfields" summary="Custom Fields">
<template id="timesheet.edit.customfields"/>
</et2-details>
<et2-details id="ownership" summary="Ownership">
<template id="timesheet.edit.ownership"/>
</tabpanels>
</et2-tabbox>
</et2-details>
</et2-vbox>
</row>
</rows>
</grid>

View File

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