]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxAppointmentPrintview.wox
moved SOGo files up
[scalable-opengroupware.org] / UI / Templates / UIxAppointmentPrintview.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:uix="OGo:uix"
6                xmlns:label="OGo:label"
7                className="UIxPrintPageFrame"
8                title="title"
9 >
10   <table border="1" cellspacing="0" cellpadding="5" width="100%">
11     <tr>
12       <td colspan="2" align="center">
13         <h1 class="dayprintview"><var:string value="title" /></h1>
14       </td>
15     </tr>
16     <tr>
17       <td valign="top" width="100%">
18         <table width="100%" border="0" cellpadding="4" cellspacing="0">
19           <!-- general appointment info -->
20           <tr valign="top">
21             <td align="right" width="15%" class="aptview_text">
22               <var:string label:value="Title" />:
23             </td>
24             <td align="left" class="aptview_text">
25               <var:string value="appointment.summary"
26                           var:style="aptStyle"
27               />
28             </td>
29           </tr>
30           <tr valign="top">
31             <td align="right" width="15%" class="aptview_text">
32               <var:string label:value="Location" />:
33             </td>
34             <td align="left" class="aptview_text">
35               <var:string value="appointment.location"
36                           var:style="aptStyle"
37               />
38             </td>
39           </tr>
40           <tr valign="top">
41             <td align="right" width="15%" class="aptview_text">
42               <var:string label:value="Priority" />:
43             </td>
44             <td align="left" class="aptview_text">
45               <var:string label:value="$appointment.priorityLabelKey" />
46             </td>
47           </tr>
48         </table>
49       </td>
50     </tr>
51     <tr>
52       <td valign="top" width="100%">
53         <table width="100%" border="1" cellpadding="4" cellspacing="0">
54           <tr valign="top">
55             <td align="right" width="15%" class="aptview_text">
56               <var:string label:value="Start time" />:
57             </td>
58             <td align="left" class="aptview_text">
59               <var:string value="startTime"
60                           formatter="dateFormatter"
61                           var:style="aptStyle"
62               />
63             </td>
64           </tr>
65           <tr valign="top">
66             <td align="right" width="15%" class="aptview_text">
67               <var:string label:value="End time" />:
68             </td>
69             <td align="left" class="aptview_text">
70               <var:string value="endTime"
71                           formatter="dateFormatter"
72                           var:style="aptStyle"
73               />
74             </td>
75           </tr>
76           <tr valign="top">
77             <td align="right" width="15%" class="aptview_text">
78               <var:string label:value="Categories" />:
79             </td>
80             <td align="left" class="aptview_text">
81               <var:string value="categoriesAsString" />
82             </td>
83           </tr>
84           <tr valign="top">
85             <td align="right" width="15%" class="aptview_text">
86               <var:string label:value="Resources" />:
87             </td>
88             <td align="left" class="aptview_text">
89               <var:string value="resourcesAsString"
90                           const:escapeHTML="NO"
91               />
92             </td>
93           </tr>
94           <tr valign="top">
95             <td align="right" width="15%" class="aptview_text">
96               <var:string label:value="Organizer" />:
97             </td>
98             <td align="left" class="aptview_text">
99               <var:string value="appointment.organizer.cnForDisplay" />
100             </td>
101           </tr>
102           <tr valign="top">
103             <td align="right" width="15%" class="aptview_text">
104               <var:string label:value="Comment" />:
105             </td>
106             <td align="left" class="aptview_text">
107               <var:string value="appointment.comment" const:insertBR="1" />
108             </td>
109           </tr>
110         </table>
111         <table width="100%" border="1" cellpadding="4" cellspacing="0">
112           <tr valign="top">
113             <td align="left" class="aptview_title">
114                 <var:string label:value="Name" />
115             </td>
116             <td align="left" class="aptview_title">
117                 <var:string label:value="Email" />
118             </td>
119           </tr>
120           <var:foreach list="appointment.participants"
121                        item="attendee"
122           >
123             <tr valign="top">
124               <td align="left" class="aptview_text">
125                   <var:string value="attendee.cnForDisplay" />
126               </td>
127               <td align="left" class="aptview_text">
128                   <a var:href="attendee.email"
129                   ><var:string value="attendee.rfc822Email" /></a>
130               </td>
131             </tr>
132           </var:foreach>
133         </table>
134       </td>
135     </tr>
136     <var:if condition="isUIxDebugEnabled">
137       <tr>
138         <td colspan="2">
139           appointment: <var:string value="appointment" />
140           <br />
141           isMyApt: <var:string value="isMyApt" />
142           <br />
143           aptStyle: <var:string value="aptStyle" />
144           <br />
145           activeUser: <var:string value="context.activeUser"/>
146           <br />
147           email for user: <var:string value="emailForUser" />
148           <br />
149         </td>
150       </tr>
151     </var:if>
152   </table>
153 </var:component>