]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxCalInlineMonthOverview.wox
f12a042677325fffec7f7e7fb3cedeee45c3f5d8
[scalable-opengroupware.org] / UI / Templates / UIxCalInlineMonthOverview.wox
1 <?xml version='1.0' standalone='yes'?>
2
3 <table xmlns="http://www.w3.org/1999/xhtml"
4        xmlns:var="http://www.skyrix.com/od/binding"
5        xmlns:const="http://www.skyrix.com/od/constant"
6        xmlns:rsrc="OGo:url"
7        xmlns:label="OGo:label"
8        var:class="style"
9 >
10         <tr var:class="headerStyle">
11                 <td>
12               <var:if condition="hasMonthSelectionHref"
13               ><a var:href="monthSelectionHref"
14                   var:queryDictionary="currentMonthQueryParameters"
15                ><var:string value="headerString" /></a>
16               </var:if>
17               <var:if condition="hasMonthSelectionHref"
18                       const:negate="YES"
19               ><var:string value="headerString" /></var:if>
20                 </td>
21         </tr>
22         <tr>
23                 <td>
24             <var:month-overview currentDay="currentDay"
25                                 index="dayIndex"
26                                 year="year"
27                                 month="month"
28                                 const:startDateKey="startDate"
29                                 const:endDateKey="endDate"
30             >
31                 <var:month-label const:orientation="top"
32                                  dayOfWeek="dayOfWeek"
33                                  class="dayHeaderStyle"
34                 >
35                     <var:string value="localizedDayOfWeekName" />
36                 </var:month-label>
37                 <var:if condition="showWeekColumn">
38                     <var:month-label const:orientation="left"
39                                      weekOfYear="weekOfYear"
40                                      class="currentWeekStyle"
41                     >
42                         <var:if condition="hasWeekSelectionHref">
43                             <a var:href="weekSelectionHref"
44                                var:queryDictionary="currentWeekQueryParameters"
45                             ><var:string value="weekOfYear" /></a>
46                         </var:if>
47                         <var:if condition="hasWeekSelectionHref"
48                                 const:negate="YES"
49                         >
50                             <var:string value="weekOfYear" />
51                         </var:if>
52                     </var:month-label>
53                 </var:if>
54                 <var:month-title class="contentStyle">
55                   <span var:class="extraStyle">
56                   <var:if condition="hasDaySelectionHref">
57                     <a var:href="daySelectionHref"
58                         var:queryDictionary="currentDayQueryParameters"
59                     ><var:string value="currentDay.dayOfMonth"/></a>
60                   </var:if>
61                   <var:if condition="hasDaySelectionHref"
62                           const:negate="YES"
63                   >
64                     <var:string value="currentDay.dayOfMonth"/>
65                   </var:if>
66                   </span>
67                 </var:month-title>
68             </var:month-overview>
69         </td>
70         </tr>
71 </table>