sogo/UI/Templates/SchedulerUI/UIxCalDayTable.wox
Wolfgang Sourdeau 3c23f9c7fe Monotone-Parent: 004c366d96118af36568a9b13190353c7241a94c
Monotone-Revision: 1acbcf80ee191c82fc00ca17699bd2e85a2166d3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-02T22:03:09
Monotone-Branch: ca.inverse.sogo
2006-11-02 22:03:09 +00:00

84 lines
2.8 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"
/>
</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 var:class="dayCellClasses"
onclick="onCalendarSelectDay(event, this);"
ondblclick="return newEvent(this, 'event');"
var:day="currentTableDay.shortDateString"
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="currentTableDay"
canAccess="canAccessApt"
/>
</var:foreach
></td>
</var:foreach>
</tr>
</var:foreach>
</table>
<script type="text/javascript">
scrollDayView();
</script>
</container>