sogo/UI/Templates/SchedulerUI/UIxCalDayTable.wox
Wolfgang Sourdeau add5f7d76c Monotone-Parent: 0b20d8e0eabf4b9c1bf3cd6ae19c87f40fe472ff
Monotone-Revision: 5bf0a22a5808c60082a5dfe3021d89cc315121b9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-06T22:40:46
Monotone-Branch: ca.inverse.sogo
2006-09-06 22:40:46 +00:00

84 lines
2.7 KiB
XML

<?xml version="1.0" standalone="yes"?>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<table
var:class="cssClass"
var:id="cssId">
<tr>
<td class="nullHeader">
</td>
<var:foreach list="daysToDisplay" item="currentTableDay"
><td class="header"><var:string value="labelForDay"/></td
></var:foreach>
</tr>
<var:if condition="hasHolidayInfo">
<tr>
<td class="hourOfDay" colspan="2">
<b><var:string value="holidayInfo.title" /></b>
</td>
</tr>
</var:if>
<var:foreach list="allDayApts" item="appointment">
<tr>
<td class="hourOfDay">
<var:entity name="nbsp" />
</td>
<td class="contentOfDay" width="90%">
<var:foreach list="allDayApts" item="appointment">
<var:component className="UIxCalInlineAptView"
appointment="appointment"
formatter="aptFormatter"
tooltipFormatter="aptTooltipFormatter"
url="appointmentViewURL"
const:style="dayoverview"
queryDictionary="currentDateQueryParameters"
referenceDate="selectedDate"
canAccess="canAccessApt"
/>
<br />
</var:foreach>
</td>
</tr>
</var:foreach>
<var:foreach list="hoursToDisplay" item="currentTableHour">
<tr>
<td class="hourOfDay">
<var:string value="currentTableHour"
/>:00
</td>
<var:foreach list="daysToDisplay" item="currentTableDay"
><td class="contentOfDay"
onclick="onCalendarSelectDay(event, this);"
ondblclick="return newEvent(this);"
var:day="currentAppointmentDay"
var:hour="currentAppointmentHour"
><var:foreach
list="aptsForCurrentDate"
item="appointment"
>
<var:component className="UIxCalInlineAptView"
appointment="appointment"
formatter="aptFormatter"
tooltipFormatter="aptTooltipFormatter"
url="appointmentViewURL"
const:style="dayoverview"
queryDictionary="currentDayQueryParameters"
referenceDate="currentDate"
canAccess="canAccessApt"
/>
<br />
</var:foreach
></td>
</var:foreach>
</tr>
</var:foreach>
</table>
</container>