<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<!-- $Id: edit.xet 54611 2015-12-22 17:01:32Z nathangray $ -->
<overlay>
	<template id="infolog.view.description" template="" lang="" group="0" version="1.6.001">
		<et2-textarea  id="info_des" width="99.7%" height="250" noLang="1" resizeRatio="0"></et2-textarea>
	</template>
	<template id="infolog.view.links" template="" lang="" group="0" version="1.3.001">
		<grid width="100%">
			<columns>
				<column/>
			</columns>
			<rows>
				<row class="th">
					<et2-description  value="Existing links"></et2-description>
				</row>
				<row>
					<et2-link-string  id="filelinks"></et2-link-string>
				</row>
			</rows>
		</grid>
	</template>
	<template id="infolog.view.project" template="" lang="" group="0" version="1.5.004">
		<grid width="100%">
			<columns>
				<column width = "120"/>
				<column/>
			</columns>
			<rows>
				<row>
					<et2-description  value="Project"></et2-description>
					<et2-link-entry  id="pm_id" class="infolog_projectName" onlyApp="projectmanager" placeholder="None"></et2-link-entry>
				</row>
				<row>
					<et2-description  value="Price"></et2-description>
					<et2-hbox>
						<et2-number  id="info_price"></et2-number>
						<et2-select  id="pl_id" options="None"></et2-select>
					</et2-hbox>
				</row>
				<row>
					<et2-description  value="planned time" for="info_planned_time"></et2-description>
					<et2-date-duration  id="info_planned_time" class="infolog_date_duration" displayFormat="$cont[duration_format]" hoursPerDay="$cont[hours_per_workday]"></et2-date-duration>
				</row>
				<row>
					<et2-description  value="Re-planned time" for="info_replanned_time"></et2-description>
					<et2-date-duration  id="info_replanned_time" class="infolog_date_duration" displayFormat="$cont[duration_format]" hoursPerDay="$cont[hours_per_workday]"></et2-date-duration>
				</row>
				<row>
					<et2-description  statustext="Leave blank to get the used time calculated by timesheet entries" value="used time" for="info_used_time"></et2-description>
					<et2-date-duration  id="info_used_time" span="2" class="infolog_date_duration" displayFormat="$cont[duration_format]" hoursPerDay="$cont[hours_per_workday]"></et2-date-duration>
				</row>
			</rows>
		</grid>
	</template>
	<template id="infolog.view.customfields" template="" lang="" group="0" version="1.0.1.001">
		<customfields type_filter="@info_type"/>
	</template>
	<template id="infolog.view.details" template="" lang="" group="0" version="1.9.001">
		<grid width="100%">
			<columns>
				<column width = "120"/>
				<column/>
			</columns>
			<rows>
				<row>
					<et2-description  value="CC"></et2-description>
					<et2-select-email  id="info_cc" width="100%" multiple="true" searchUrl="EGroupware\Api\Etemplate\Widget\Taglist::ajax_email" placeholder="email"></et2-select-email>
				</row>
				<row>
					<et2-description  value="Responsible" for="info_responsible"></et2-description>
					<et2-select-account  width="100%" statustext="select a responsible user: a person you want to delegate this task" id="info_responsible" multiple="true" placeholder="User or group" noLang="1" accountType="both"></et2-select-account>
				</row>
				<row>
					<et2-description  value="Category" for="info_cat"></et2-description>
					<et2-select-cat  statustext="select a category for this entry" id="info_cat" emptyLabel="None"></et2-select-cat>
				</row>
				<row >
					<et2-description  value="Parent" fontStyle="1"></et2-description>
					<et2-link-entry  id="info_id_parent" onlyApp="infolog"></et2-link-entry>
				</row>
				<row>
					<et2-description  value="Location" for="info_location"></et2-description>
					<et2-textbox  id="info_location" maxlength="255"></et2-textbox>
				</row>
				<row>
					<et2-description  value="Priority" for="info_priority"></et2-description>
					<et2-select  statustext="select a priority for this task" id="info_priority"></et2-select>
				</row>
				<row>
					<et2-description  value="Date completed" for="info_datecompleted"></et2-description>
					<et2-date-time  statustext="Date completed (leave it empty to have it automatic set if status is done or billed)" id="info_datecompleted"></et2-date-time>
				</row>
				<row>
					<et2-description  value="Contact" for="info_from"></et2-description>
					<et2-textbox  statustext="Custom contact-information, leave emtpy to use information from most recent link" id="info_from" maxlength="255" placeholder="@blur_title"></et2-textbox>
				</row>
			</rows>
		</grid>
	</template>
	<template id="infolog.view.ownership" template="" lang="" group="0" version="16.1.00">
		<grid width="100%">
			<columns>
				<column width = "120"/>
				<column/>
			</columns>
			<rows>
				<row disabled="!@info_owner">
					<et2-description  value="Owner"></et2-description>
					<et2-select-account  id="info_owner" readonly="true"></et2-select-account>
				</row>
				<row>
					<et2-description  value="Created"></et2-description>
					<et2-date-time  id="info_created" readonly="true"></et2-date-time>
				</row>
				<row>
					<et2-description  value="Private" for="info_access"></et2-description>
					<et2-checkbox  statustext="should this entry only be visible to you and people you grant privat access via the ACL" id="info_access" selectedValue="private" unselectedValue="public" ></et2-checkbox>
				</row>

				<row>
					<et2-description  value="Last modified"></et2-description>
					<et2-select-account  id="info_modifier" readonly="true"></et2-select-account>
				</row>
				<row>
					<et2-description></et2-description>
					<et2-date-time  id="info_datemodified" readonly="true"></et2-date-time>
				</row>
			</rows>
		</grid>
	</template>
	<template id="infolog.view" template="" lang="" group="0" version="1.9.101">
		<grid border="1" width="100%">
			<columns>
				<column width = "120"/>
				<column/>
			</columns>
			<rows>
				<row class="dialogHeadbar" >
					<et2-box>
						<et2-number  id="info_number" readonly="true" class="entry_id" precision="0"></et2-number>
					</et2-box>
				</row>
				<row>
					<et2-description  value="Title" for="info_subject"></et2-description>
					<et2-textbox  statustext="a short subject for the entry" id="info_subject" class="et2_required" maxlength="255" span="5" tabindex="1"></et2-textbox>
				</row>
				<row>
					<et2-description  value="Type" for="info_type"></et2-description>
					<et2-select  statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" noLang="1"></et2-select>
				</row>
				<row>
					<et2-description  value="Contact"></et2-description>
					<et2-link-entry  id="info_contact" span="4"></et2-link-entry>
				</row>
				<row>
					<et2-description  value="Startdate" for="info_startdate"></et2-description>
					<et2-date-time  statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)" id="info_startdate"></et2-date-time>
				</row>
				<row>
					<et2-description  value="Enddate" for="info_enddate"></et2-description>
					<et2-date-time  statustext="til when should the ToDo or Phonecall be finished" id="info_enddate"></et2-date-time>
				</row>
				<row>
					<et2-description  value="Status" for="info_status"></et2-description>
					<et2-select  statustext="@status_help" id="info_status"></et2-select>
				</row>
				<row>
					<et2-description  value="Completed" for="info_percent"></et2-description>
					<et2-select-percent  span="4" statustext="Percent completed" id="info_percent"></et2-select-percent>
				</row>
				<row>
                    <et2-vbox span="all" width="100%">
                        <et2-details id="description" summary="Description" title="longer textual description">
                            <template id="infolog.view.description"/>
                        </et2-details>
                        <et2-details id="details" summary="Details" title="Location, priority , ...">
                            <template id="infolog.view.details"/>
                        </et2-details>
                        <et2-details id="links" summary="Links" title="Links of this entry">
                            <template id="infolog.view.links"/>
                        </et2-details>
                        <et2-details id="project" summary="Projectmanager" title="Project settings: price, times">
                            <template id="infolog.view.project"/>
                        </et2-details>
                        <et2-details id="customfields" summary="Customfields" title="Custom fields">
                            <template id="infolog.view.customfields"/>
                        </et2-details>
                        <et2-details id="ownership" summary="Ownership" title="Ownership">
                            <template id="infolog.view.ownership"/>
                        </et2-details>
                    </et2-vbox>
                </row>
			</rows>
		</grid>
	</template>
</overlay>