<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
	<template id="infolog.home" template="" lang="" group="0" version="1.9.005">
		<grid width="100%">
			<columns>
				<column width="120"/>
				<column width="45%"/>
				<column width="15%" disabled="@no_customfields"/>
				<column/>
				<column width="120"/>
				<column/>
				<column/>
				<column width="120" disabled="@no_info_owner_info_responsible"/>
				<column width="120"/>
			</columns>
			<rows>
				<row class="th">
					<vbox>
						<nextmatch-filterheader id="info_type" no_lang="1" options="Type"/>
						<nextmatch-filterheader align="center" id="info_status" options="Status" class="selectboxFullWidth"/>
						<nextmatch-sortheader align="right" label="Completed" id="info_percent"/>
					</vbox>
					<grid width="100%" spacing="0" padding="0">
						<columns>
							<column/>
							<column/>
						</columns>
						<rows>
							<row>
								<nextmatch-customfilter id="linked" options="link-entry"/>
								<nextmatch-sortheader align="right" label="Priority" id="info_priority" options="DESC" class="noPrint"/>
							</row>
							<row>
								<nextmatch-sortheader label="Subject" id="info_subject"/>
								<nextmatch-sortheader align="right" label="Creation" id="info_id" options="DESC" class="noPrint"/>
							</row>
							<row>
								<nextmatch-sortheader label="Description" id="info_des"/>
								<nextmatch-sortheader align="right" label="last changed" id="info_datemodified" options="DESC" class="noPrint"/>
							</row>
						</rows>
					</grid>
					<nextmatch-customfields id="customfields"/>
					<nextmatch-header label="Category" id="cat_id"/>
					<vbox>
						<nextmatch-sortheader label="Startdate" id="info_startdate" sortmode="DESC"/>
						<nextmatch-sortheader label="Enddate" id="info_enddate" sortmode="DESC"/>
						<nextmatch-sortheader label="Date completed" id="info_datecompleted" sortmode="DESC"/>
					</vbox>
					<vbox>
						<nextmatch-sortheader label="Times" id="info_used_time"/>
						<nextmatch-sortheader label="planned" id="info_planned_time" class="infolog_planned"/>
					</vbox>
					<vbox>
						<nextmatch-sortheader label="Times" id="info_used_time"/>
						<nextmatch-sortheader label="planned" id="info_planned_time" class="infolog_planned"/>
						<nextmatch-sortheader label="Re-planned" id="info_replanned_time" class="replanned"/>
					</vbox>
					<vbox>
						<nextmatch-accountfilter statustext="Select to filter by owner" id="info_owner" options="Owner,both" class="infolog_user_filter"/>
						<nextmatch-accountfilter statustext="Select to filter by responsible" id="info_responsible" options="Responsible,both" class="infolog_user_filter"/>
					</vbox>
					<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
				</row>
				<row class="$row_cont[info_cat] $row_cont[class]" valign="top">
					<hbox align="center">
						<image label="$row_cont[info_type]" src="${row}[info_type]" default_src="infolog/navbar"/>
						<image label="$row_cont[info_status_label]" id="edit_status[$row_cont[info_id]]" href="javascript:egw.open($row_cont[info_id],'infolog');" src="$row_cont[info_status_label]" default_src="status"/>
						<image label="$row_cont[info_percent]" id="edit_percent[$row_cont[info_id]]" href="javascript:egw.open($row_cont[info_id],'infolog');" src="$row_cont[info_percent]"/>
						<progress label="$row_cont[info_percent]" id="{$row}[info_percent2]" href="javascript:egw.open($row_cont[info_id],'infolog');"/>
					</hbox>
					<vbox class="infolog_fullWidth">
						<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/>
						<hbox>
							<description id="${row}[info_subject]" no_lang="1" class="$row_cont[sub_class]"/>
							<description align="right" id="{$row}[info_number]" no_lang="1" class="infolog_infoId"/>
						</hbox>
						<box class="infoDes">
							<description id="${row}[info_des]" no_lang="1" activate_links="1"/>
						</box>
						<link-string id="${row}[filelinks]"/>
					</vbox>
					<customfields-list id="$row" class="customfields"/>
					<menulist>
						<menupopup type="select-cat" id="${row}[info_cat]" readonly="true"/>
					</menulist>
					<vbox>
						<date-time id="${row}[info_startdate]" readonly="true" options=",8" class="infolog_fixedHeight"/>
						<date-time id="${row}[info_enddate]" readonly="true" options=",8" class="$row_cont[end_class] infolog_fixedHeight"/>
						<date-time id="${row}[info_datecompleted]" readonly="true" class="infolog_fixedHeight"/>
					</vbox>
					<vbox>
						<hbox readonly="true">
							<hbox readonly="true">
								<date-duration id="${row}[info_used_time]" readonly="true" options="@@duration_format"/>
								<date-duration id="${row}[info_sum_timesheets]" readonly="true" options="@@duration_format" class="timesheet"/>
							</hbox>
							<description/>
						</hbox>
						<date-duration id="${row}[info_planned_time]" readonly="true" options="@@duration_format" span="all" class="infolog_planned"/>
					</vbox>
					<vbox>
						<hbox id="r_used_time">
							<image label="Times" src="timesheet"/>
							<date-duration id="${row}[info_used_time]" readonly="true" options="@@duration_format"/>
							<date-duration id="${row}[info_sum_timesheets]" readonly="true" options="@@duration_format" class="timesheet"/>
						</hbox>
						<hbox id="planified">
							<image label="planned time" src="k_alarm.png"/>
							<date-duration id="${row}[info_planned_time]" readonly="true" options="@@duration_format" span="all" class="infolog_planned"/>
						</hbox>
						<hbox id="replanified">
							<image label="Re-planned time" src="agt_reload.png"/>
							<date-duration id="${row}[info_replanned_time]" readonly="true" options="@@duration_format" span="all" class="replanned"/>
						</hbox>
					</vbox>
					<vbox>
						<menulist>
							<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
						</menulist>
						<listbox type="select-account" id="${row}[info_responsible]" readonly="true" rows="5"/>
					</vbox>
					<vbox>
						<date-time id="${row}[info_datemodified]" readonly="true"/>
						<menulist>
							<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
						</menulist>
					</vbox>
				</row>
			</rows>
		</grid>
	</template>
</overlay>
