2005-12-19 05:23:14 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- $Id$ -->
|
|
|
|
<overlay>
|
2008-08-04 14:48:01 +02:00
|
|
|
<template id="timesheet.edit.general" template="" lang="" group="0" version="1.5.001">
|
2005-12-19 05:23:14 +01:00
|
|
|
<grid width="100%" height="150">
|
|
|
|
<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">
|
2005-12-19 05:23:14 +01:00
|
|
|
<description options=",,,ts_title" value="Title"/>
|
2008-08-04 14:48:01 +02:00
|
|
|
<textbox size="65" maxlength="80" id="ts_title" blur="@ts_title_blur" span="all" class="fullWidth"/>
|
|
|
|
<description/>
|
|
|
|
<description/>
|
|
|
|
</row>
|
|
|
|
<row class="row" disabled="!@ts_viewtype">
|
|
|
|
<description value="comment"/>
|
|
|
|
<textbox multiline="true" rows="5" cols="50" id="ts_description" span="all" class="fullWidth"/>
|
|
|
|
<description/>
|
|
|
|
<description/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
|
|
|
<row class="row">
|
|
|
|
<description options=",,,cat_id" value="Category"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
<menulist span="all">
|
2005-12-19 05:23:14 +01:00
|
|
|
<menupopup type="select-cat" id="cat_id" options="None"/>
|
|
|
|
</menulist>
|
|
|
|
</row>
|
|
|
|
<row class="row">
|
|
|
|
<description options=",,,ts_start" value="Date"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
<date id="ts_start" needed="1" options=",8"/>
|
|
|
|
<description value="Starttime"/>
|
|
|
|
<date-timeonly id="start_time"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
|
|
|
<row class="row">
|
|
|
|
<description options=",,,ts_duration" value="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"/>
|
|
|
|
<date-timeonly id="end_time"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
2008-08-04 14:48:01 +02:00
|
|
|
<row class="row" disabled="@ts_viewtype">
|
2005-12-19 05:23:14 +01:00
|
|
|
<description options=",,,ts_quantity" value="Quantity"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
<textbox type="float" id="ts_quantity" statustext="empty if identical to duration" blur="@ts_quantity_blur" precision="3" span="all"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
2008-08-04 14:48:01 +02:00
|
|
|
<template id="timesheet.edit.notes" template="" lang="" group="0" version="1.5.001">
|
2005-12-19 05:23:14 +01:00
|
|
|
<grid width="100%" height="150">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row class="row" valign="top">
|
2008-08-04 14:48:01 +02:00
|
|
|
<textbox multiline="true" rows="8" cols="70" id="ts_description" 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">
|
|
|
|
<grid width="100%" height="150" overflow="auto">
|
|
|
|
<columns>
|
|
|
|
<column width="100"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2006-01-11 06:17:15 +01:00
|
|
|
<row class="th" disabled="@view">
|
2005-12-19 05:23:14 +01:00
|
|
|
<description span="all" value="Create new links"/>
|
|
|
|
</row>
|
|
|
|
<row class="row" disabled="@status_only">
|
|
|
|
<link-to span="all" id="link_to"/>
|
|
|
|
</row>
|
|
|
|
<row class="th">
|
|
|
|
<description span="all" value="Existing links"/>
|
|
|
|
</row>
|
|
|
|
<row class="row_off" valign="top">
|
|
|
|
<link-list span="all" id="link_to"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
2008-08-04 14:48:01 +02:00
|
|
|
<template id="timesheet.edit.customfields" template="" lang="" group="0" version="">
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<customfields/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
|
|
|
<template id="timesheet.edit" template="" lang="" group="0" version="1.5.001">
|
2005-12-19 05:23:14 +01:00
|
|
|
<grid width="100%">
|
|
|
|
<columns>
|
|
|
|
<column width="100"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row disabled="!@msg">
|
|
|
|
<description span="all" class="redItalic" id="msg" no_lang="1" align="center"/>
|
|
|
|
<description/>
|
|
|
|
</row>
|
|
|
|
<row class="th" height="28">
|
|
|
|
<description options=",,,ts_owner" value="User"/>
|
|
|
|
<menulist span="all">
|
|
|
|
<menupopup id="ts_owner" no_lang="1"/>
|
|
|
|
</menulist>
|
|
|
|
</row>
|
|
|
|
<row class="row">
|
|
|
|
<description options=",,,ts_project" value="Project"/>
|
2006-09-12 17:21:23 +02:00
|
|
|
<grid spacing="1" padding="1">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row disabled="@pm_integration=none">
|
2008-08-04 14:48:01 +02:00
|
|
|
<projectmanager-select options="None" id="pm_id" span="all" class="fullWidth" statustext="Select a project" onchange="1"/>
|
2006-09-12 17:21:23 +02:00
|
|
|
</row>
|
|
|
|
<row disabled="@pm_integration=full">
|
2008-08-04 14:48:01 +02:00
|
|
|
<textbox id="ts_project" blur="@ts_project_blur" 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>
|
2008-08-04 14:48:01 +02:00
|
|
|
<row class="row" disabled="@ts_viewtype">
|
2005-12-19 05:23:14 +01:00
|
|
|
<description options=",,ts_unitprice" value="Unitprice"/>
|
2006-09-12 17:21:23 +02:00
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column disabled="@pm_integration=none"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
2008-08-04 14:48:01 +02:00
|
|
|
<projectmanager-pricelist id="pl_id" options="None" 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);"/>
|
2006-09-12 17:21:23 +02:00
|
|
|
<textbox type="float" id="ts_unitprice" span="all"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<tabbox span="all">
|
|
|
|
<tabs>
|
|
|
|
<tab label="General" statustext=""/>
|
|
|
|
<tab label="Notes" statustext=""/>
|
|
|
|
<tab label="Links" statustext=""/>
|
2008-08-04 14:48:01 +02:00
|
|
|
<tab label="Custom Fields" statustext=""/>
|
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"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</tabpanels>
|
|
|
|
</tabbox>
|
|
|
|
</row>
|
|
|
|
<row class="row" disabled="!@ts_modified">
|
|
|
|
<description value="Last modified"/>
|
|
|
|
<hbox>
|
|
|
|
<date-time id="ts_modified" readonly="true"/>
|
|
|
|
<menulist>
|
|
|
|
<menupopup type="select-account" id="ts_modifier" label="by" readonly="true"/>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
</row>
|
|
|
|
<row>
|
2007-01-12 02:27:37 +01:00
|
|
|
<hbox options="0" span="2" orient="0">
|
2005-12-19 05:23:14 +01:00
|
|
|
<hbox>
|
|
|
|
<button label="Edit" id="button[edit]" statustext="Edit this entry"/>
|
|
|
|
<button id="button[save_new]" label="Save & New" statustext="Saves this entry and add a new one"/>
|
|
|
|
<button id="button[save]" label="Save" statustext="Saves the changes made"/>
|
|
|
|
<button id="button[apply]" label="Apply" statustext="Applies the changes made"/>
|
|
|
|
<button id="button[cancel]" label="Cancel" statustext="closes the window without saving the changes" onclick="window.close();"/>
|
|
|
|
<html id="js"/>
|
|
|
|
</hbox>
|
|
|
|
<button label="Delete" align="right" id="button[delete]" statustext="Delete this entry" onclick="return confirm('Delete this entry');"/>
|
|
|
|
</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>
|
|
|
|
</overlay>
|