]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxCalDayPrintview.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1004 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / UIxCalDayPrintview.wox
1 <?xml version="1.0" standalone="yes"?>
2 <var:component xmlns="http://www.w3.org/1999/xhtml"
3                xmlns:var="http://www.skyrix.com/od/binding"
4                xmlns:const="http://www.skyrix.com/od/constant"
5                xmlns:rsrc="OGo:url"
6                xmlns:label="OGo:label"
7                className="UIxPrintPageFrame"
8                title="title"
9 >
10   <table border="1" cellpadding="5" cellspacing="0" width="100%">
11     <tr>
12       <td colspan="2" align="center">
13         <h1 class="dayprintview"><var:string value="title" /></h1>
14         <h2 class="dayprintview"
15         ><var:string value="formattedCalendarUIDs"/></h2>
16       </td>
17     </tr>
18     <tr valign="top">
19       <var:if condition="hasHolidayInfo">
20         <tr>
21           <td colspan="2" align="left">
22             <b><var:string value="holidayInfo.title" /></b>
23           </td>
24         </tr>
25       </var:if>
26       <var:foreach list="allDayApts" item="appointment">
27         <tr>
28           <td width="10%">
29             <var:entity name="nbsp" />
30           </td>
31           <td class="dayprintview_content">
32             <var:foreach list="allDayApts" item="appointment">
33               <var:string value="appointment"
34                           formatter="aptFormatter"
35                           const:escapeHTML="NO"
36               />
37               <br />
38             </var:foreach>
39           </td>
40         </tr>
41       </var:foreach>
42       <var:foreach list="dateRange" item="currentDate">
43         <tr>
44           <td width="10%" rowspan="minRequiredRowSpan" class="dayprintview_time">
45             <var:string value="currentDate"
46                         const:dateformat="%H:%M"
47             />
48           </td>
49           <var:foreach list="aptsForCurrentDate" item="appointment">
50             <td class="dayprintview_content">
51               <var:string value="appointment"
52                           formatter="aptFormatter"
53                           const:escapeHTML="NO"
54                           style="aptStyle"
55               />
56             </td>
57             <var:if condition="minRequiredRowSpan"
58                     const:value="1"
59                     const:negate="YES"
60             >
61             </var:if>
62           </var:foreach>
63           <var:if condition="hasNoAptsForCurrentDate">
64             <td><var:entity const:name="nbsp" /></td>
65           </var:if>
66         </tr>
67       </var:foreach>
68     </tr>
69   </table>
70 </var:component>