2005-12-19 05:23:14 +01:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2009-10-26 09:17:06 +01:00
<template id="timesheet.edit.general" template="" lang="" group="0" version="1.7.002">
2011-04-19 20:52:25 +02:00
<grid width="100%" height="165">
2005-12-19 05:23:14 +01:00
<columns>
<column width="95"/>
2006-09-12 12:37:13 +02:00
<column width="120"/>
2008-08-04 14:48:01 +02:00
<column width="80" disabled="@ts_viewtype"/>
<column disabled="@ts_viewtype"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
2008-08-04 14:48:01 +02:00
<row class="row" disabled="@ts_viewtype">
2011-08-24 09:18:59 +02:00
<description value="Title" for="ts_title"/>
2013-05-23 11:01:33 +02:00
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="80" span="all" class="fullWidth" tabindex="1"/>
2008-08-04 14:48:01 +02:00
<description/>
<description/>
</row>
<row class="row" disabled="!@ts_viewtype">
<description value="comment"/>
2011-07-20 17:23:36 +02:00
<textbox multiline="true" id="ts_description" rows="5" cols="50" span="all" class="fullWidth"/>
2008-08-04 14:48:01 +02:00
<description/>
<description/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row">
2011-08-24 09:18:59 +02:00
<description value="Category" for="cat_id"/>
2006-09-12 12:37:13 +02:00
<menulist span="all">
2011-08-04 18:41:20 +02:00
<menupopup type="select-cat" id="cat_id" options="None,,,timesheet"/>
2005-12-19 05:23:14 +01:00
</menulist>
</row>
<row class="row">
2011-08-24 09:18:59 +02:00
<description value="Date" for="ts_start"/>
2011-07-20 17:23:36 +02:00
<date id="ts_start" needed="1" options=",8"/>
2006-09-12 12:37:13 +02:00
<description value="Starttime"/>
2009-10-26 09:17:06 +01:00
<date-timeonly id="start_time" options="H:i"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row">
2011-08-24 09:18:59 +02:00
<description value="Duration" for="ts_duration"/>
2006-03-27 14:20:06 +02:00
<date-duration id="ts_duration" options=",hm"/>
2006-09-12 12:37:13 +02:00
<description value="or endtime" class="noWrap"/>
2009-10-26 09:17:06 +01:00
<date-timeonly id="end_time" options="H:i"/>
2005-12-19 05:23:14 +01:00
</row>
2008-08-04 14:48:01 +02:00
<row class="row" disabled="@ts_viewtype">
2011-08-24 09:18:59 +02:00
<description value="Quantity" for="ts_quantity"/>
2011-07-20 17:23:36 +02:00
<textbox type="float" blur="@ts_quantity_blur" statustext="empty if identical to duration" id="ts_quantity" precision="3" span="all"/>
2005-12-19 05:23:14 +01:00
</row>
2010-03-23 13:54:00 +01:00
<row class="row" disabled="@no_ts_status">
2009-03-23 10:53:03 +01:00
<description value="Status"/>
2011-04-19 20:52:25 +02:00
<menulist span="all">
2011-07-20 17:23:36 +02:00
<menupopup statustext="select a status of the timesheet" id="ts_status" options="please select"/>
2009-03-23 10:53:03 +01:00
</menulist>
</row>
2005-12-19 05:23:14 +01:00
</rows>
</grid>
</template>
2008-08-04 14:48:01 +02:00
<template id="timesheet.edit.notes" template="" lang="" group="0" version="1.5.001">
2011-04-19 20:52:25 +02:00
<grid width="100%" height="165">
2005-12-19 05:23:14 +01:00
<columns>
<column/>
</columns>
<rows>
<row class="row" valign="top">
2011-04-19 20:52:25 +02:00
<textbox multiline="true" id="ts_description" rows="11" cols="70" class="fullWidth"/>
2005-12-19 05:23:14 +01:00
</row>
</rows>
</grid>
</template>
<template id="timesheet.edit.links" template="" lang="" group="0" version="0.1.001">
2011-04-19 20:52:25 +02:00
<grid width="100%" height="165" overflow="auto">
2005-12-19 05:23:14 +01:00
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
2006-01-11 06:17:15 +01:00
<row class="th" disabled="@view">
2011-07-20 17:23:36 +02:00
<description value="Create new links" span="all"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row" disabled="@status_only">
2011-07-20 17:23:36 +02:00
<link-to id="link_to" span="all"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="th">
2011-07-20 17:23:36 +02:00
<description value="Existing links" span="all"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row_off" valign="top">
2011-07-20 17:23:36 +02:00
<link-list id="link_to" span="all"/>
2005-12-19 05:23:14 +01:00
</row>
</rows>
</grid>
</template>
2008-10-15 18:37:23 +02:00
<template id="timesheet.edit.customfields" template="" lang="" group="0" version="1.5.001">
2011-04-19 20:52:25 +02:00
<grid width="100%" height="165" overflow="auto">
2008-08-04 14:48:01 +02:00
<columns>
<column/>
</columns>
<rows>
<row>
<customfields/>
</row>
</rows>
</grid>
</template>
2009-09-10 10:20:27 +02:00
<template id="timesheet.edit.history" template="" lang="" group="0" version="1.7.001">
2011-04-19 20:52:25 +02:00
<grid width="100%" height="165" overflow="auto">
2009-09-10 10:20:27 +02:00
<columns>
<column/>
</columns>
<rows>
<row valign="top">
<historylog id="history"/>
</row>
</rows>
</grid>
</template>
2012-10-22 20:31:11 +02:00
<template id="timesheet.edit" template="" lang="" group="0" version="1.9.002">
2005-12-19 05:23:14 +01:00
<grid width="100%">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
2011-07-20 17:23:36 +02:00
<description align="center" id="msg" no_lang="1" span="all" class="redItalic"/>
2005-12-19 05:23:14 +01:00
<description/>
</row>
2013-11-27 08:21:32 +01:00
<row class="th dialog-header" height="28">
2011-08-24 09:18:59 +02:00
<description value="User" for="ts_owner"/>
2005-12-19 05:23:14 +01:00
<menulist span="all">
2011-07-20 17:23:36 +02:00
<menupopup id="ts_owner" no_lang="1"/>
2005-12-19 05:23:14 +01:00
</menulist>
</row>
2013-11-27 08:21:32 +01:00
<row class="row dialog-header">
2011-08-24 09:18:59 +02:00
<description value="Project" for="ts_project"/>
2006-09-12 17:21:23 +02:00
<grid spacing="1" padding="1">
<columns>
<column/>
</columns>
<rows>
<row disabled="@pm_integration=none">
2013-09-19 13:15:30 +02:00
<projectmanager-select statustext="Select a project" id="pm_id" onchange="widget.getInstanceManager().submit();" options="None" span="all" class="fullWidth"/>
2006-09-12 17:21:23 +02:00
</row>
<row disabled="@pm_integration=full">
2011-07-20 17:23:36 +02:00
<textbox blur="@ts_project_blur" id="ts_project" size="65" maxlength="80" class="fullWidth"/>
2006-09-12 17:21:23 +02:00
</row>
</rows>
</grid>
2005-12-19 05:23:14 +01:00
</row>
2013-11-27 08:21:32 +01:00
<row class="row dialog-header" disabled="@ts_viewtype">
2011-08-24 09:18:59 +02:00
<description value="Unitprice" for="ts_unitprice"/>
2006-09-12 17:21:23 +02:00
<grid>
<columns>
<column disabled="@pm_integration=none"/>
<column/>
</columns>
<rows>
<row>
2011-07-20 17:23:36 +02:00
<projectmanager-pricelist id="pl_id" onchange="this.form['exec[ts_unitprice]'].value=this.options[this.selectedIndex].text.lastIndexOf('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1);" options="None"/>
<textbox type="float" id="ts_unitprice" span="all"/>
2006-09-12 17:21:23 +02:00
</row>
</rows>
</grid>
2005-12-19 05:23:14 +01:00
</row>
<row>
2011-07-20 17:23:36 +02:00
<tabbox id="tabs" span="all">
2005-12-19 05:23:14 +01:00
<tabs>
2011-08-24 09:18:59 +02:00
<tab id="general" label="General"/>
<tab id="notes" label="Notes"/>
<tab id="links" label="Links"/>
<tab id="customfields" label="Custom Fields"/>
<tab id="history" label="History"/>
2005-12-19 05:23:14 +01:00
</tabs>
<tabpanels>
<template id="timesheet.edit.general"/>
<template id="timesheet.edit.notes"/>
<template id="timesheet.edit.links"/>
2008-08-04 14:48:01 +02:00
<template id="timesheet.edit.customfields"/>
2009-09-10 10:20:27 +02:00
<template id="timesheet.edit.history"/>
2005-12-19 05:23:14 +01:00
</tabpanels>
</tabbox>
</row>
2010-03-23 13:54:00 +01:00
<row disabled="!@ts_modified">
2005-12-19 05:23:14 +01:00
<description value="Last modified"/>
<hbox>
2011-07-20 17:23:36 +02:00
<date-time id="ts_modified" readonly="true"/>
2005-12-19 05:23:14 +01:00
<menulist>
2011-07-20 17:23:36 +02:00
<menupopup type="select-account" label="by" id="ts_modifier" readonly="true"/>
2005-12-19 05:23:14 +01:00
</menulist>
</hbox>
</row>
2013-11-27 08:21:32 +01:00
<row class="dialog-footer-toolbar">
2013-05-23 11:01:33 +02:00
<hbox orient="0" span="2">
2005-12-19 05:23:14 +01:00
<hbox>
2013-11-27 08:21:32 +01:00
<button statustext="Edit this entry" label="Edit" id="button[edit]" image="edit" background_image="1"/>
<button statustext="Saves this entry and add a new one" label="Save & New" id="button[save_new]" image="save_new" background_image="1"/>
<button statustext="Saves the changes made" label="Save" id="button[save]" image="save" background_image="1"/>
<button statustext="Applies the changes made" label="Apply" id="button[apply]" image="apply" background_image="1"/>
<button statustext="closes the window without saving the changes" label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
2005-12-19 05:23:14 +01:00
<html id="js"/>
</hbox>
2013-12-05 12:03:36 +01:00
<button align="right" statustext="Delete this entry" label="Delete" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete')" image="delete" background_image="1"/>
2013-11-27 08:21:32 +01:00
<button align="right" statustext="Restore this entry" label="Undelete" id="button[undelete]" image="undelete" background_image="1"/>
2005-12-19 05:23:14 +01:00
</hbox>
</row>
</rows>
</grid>
2008-08-04 14:48:01 +02:00
<styles>
.fullWidth select { widht: 100%; }
.fullWidth input { widht: 100%; }
.fullWidth textarea { widht: 100%; }
</styles>
2005-12-19 05:23:14 +01:00
</template>
2011-08-24 09:18:59 +02:00
</overlay>