egroupware_official/timesheet/templates/default/edit.xet

182 lines
7.3 KiB
Plaintext
Raw Normal View History

2005-12-19 05:23:14 +01:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<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="72"/>
<column width="192"/>
<column width="30"/>
<column width="95" disabled="@ts_viewtype"/>
<column width="130" disabled="@ts_viewtype"/>
<column width="40"/>
<column width="30"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
<row>
<description value="Project" for="ts_project"/>
<hbox disabled="@pm_integration=none">
<link-entry id="pm_id" onchange="1" only_app='projectmanager' blur='None' class="et2_fullWidth"/>
</hbox>
<description/>
<hbox disabled="@pm_integration=full" span="all">
<textbox blur="@ts_project_blur" id="ts_project" size="65" maxlength="80" class="et2_fullWidth"/>
</hbox>
</row>
<row disabled="@ts_viewtype">
<description value="Unitprice" for="ts_unitprice"/>
<hbox disabled="@pm_integration=none" >
<projectmanager-pricelist id="pl_id" class="et2_fullWidth" onchange="window.app.timesheet.et2.getWidgetById('ts_unitprice').set_value(this.options[this.selectedIndex].text.lastIndexOf('(') &lt; 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));" options="None"/>
</hbox>
<description/>
<hbox disabled="@pm_integration=none">
<textbox type="float" id="ts_unitprice" span="all" class="et2_fullWidth"/>
</hbox>
2008-08-04 14:48:01 +02:00
</row>
<row class="row" disabled="!@ts_viewtype">
<description value="comment"/>
2014-03-10 16:19:28 +01:00
<textbox multiline="true" id="ts_description" rows="5" cols="50" class="et2_fullWidth"/>
<description/>
2008-08-04 14:48:01 +02:00
<description/>
<description/>
2005-12-19 05:23:14 +01:00
</row>
2008-08-04 14:48:01 +02:00
<row class="row" disabled="@ts_viewtype">
<description value="Quantity" for="ts_quantity"/>
2014-03-10 16:19:28 +01:00
<textbox type="float" blur="@ts_quantity_blur" statustext="empty if identical to duration" id="ts_quantity" precision="3" class="et2_fullWidth"/>
<description/>
<description value="Category" for="cat_id"/>
<menulist span="all">
<menupopup type="select-cat" id="cat_id" options="None,,,timesheet" class="et2_fullWidth"/>
</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">
<box height="165" width="100%" overflow="auto">
<textbox multiline="true" id="ts_description" rows="11" cols="70" class="et2_fullWidth"/>
</box>
2005-12-19 05:23:14 +01:00
</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="99%"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
<row class="th" disabled="@view">
<description value="Create new links"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row" disabled="@status_only">
<link-to id="link_to"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="th">
<description value="Existing links"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row_off" >
<link-list id="link_to"/>
2005-12-19 05:23:14 +01:00
</row>
</rows>
</grid>
</template>
<template id="timesheet.edit.customfields" template="" lang="" group="0" version="1.5.001">
<box height="165" width="100%" overflow="auto">
<customfields class="et2_fullWidth" height="165"/>
</box>
2008-08-04 14:48:01 +02:00
</template>
2009-09-10 10:20:27 +02:00
<template id="timesheet.edit.history" template="" lang="" group="0" version="1.7.001">
<box height="165" width="100%" overflow="auto">
<historylog id="history"/>
</box>
2009-09-10 10:20:27 +02:00
</template>
<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="78"/>
<column width="200"/>
<column width="30"/>
<column width="97"/>
<column width="120"/>
<column width="40"/>
<column width="30"/>
<column width="4"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
<row disabled="@ts_viewtype" class="dialogHeader">
<description value="Title" for="ts_title"/>
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="80" class="et2_fullWidth et2_required" tabindex="1" span="4"/>
<textbox type="integer" id="ts_id" readonly="true"/>
<appicon src="timesheet"/>
<description/>
2005-12-19 05:23:14 +01:00
</row>
<row class="dialogHeader2">
<description value="Date" for="ts_start"/>
<date id="ts_start" needed="1" options=",8" class="et2_fullWidth"/>
<description/>
<description value="Starttime"/>
<date-timeonly id="start_time" options="H:i" class="et2_fullWidth" span="3"/>
2014-03-10 16:19:28 +01:00
<description/>
2005-12-19 05:23:14 +01:00
</row>
<row class="row dialogHeader3">
<description value="Duration" for="ts_duration"/>
<date-duration id="ts_duration" options=",hm" class="et2_fullWidth" />
<description/>
<description value="or endtime" class="et2_noWrap"/>
<date-timeonly id="end_time" options="H:i" class="et2_fullWidth" span="3"/>
2014-03-10 16:19:28 +01:00
<description/>
2005-12-19 05:23:14 +01:00
</row>
<row>
2014-03-10 16:19:28 +01:00
<tabbox id="tabs" class="et2_nowrap" width="100%" span="all">
2005-12-19 05:23:14 +01:00
<tabs>
<tab id="notes" label="Description"/>
<tab id="general" label="Details"/>
<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>
2014-01-17 09:10:46 +01:00
<tabpanels class="dialog-main-timeframe">
2005-12-19 05:23:14 +01:00
<template id="timesheet.edit.notes"/>
<template id="timesheet.edit.general"/>
2005-12-19 05:23:14 +01:00
<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>
<row class="dialogOperators">
<description value="User" for="ts_owner"/>
<menulist >
<menupopup id="ts_owner" no_lang="1" class="et2_fullWidth"/>
</menulist>
<description/>
<description value="Status"/>
<menulist span="3">
<menupopup statustext="select a status of the timesheet" id="ts_status" class="et2_fullWidth" options="please select" />
</menulist>
<description/>
</row>
<row disabled="!@ts_modified" class="dialogOperators">
2005-12-19 05:23:14 +01:00
<description value="Last modified"/>
2014-06-12 10:25:51 +02:00
<menulist>
<menupopup type="select-account" id="ts_modifier" readonly="true"/>
</menulist>
<description/>
2014-06-12 10:25:51 +02:00
<date-time id="ts_modified" readonly="true" align="left"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="dialogFooterToolbar">
<hbox orient="0" span="all">
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 &amp; 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>
<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>
</template>
</overlay>