summaryrefslogtreecommitdiff
path: root/app/frontend/pages/Calendar.page
blob: f414daed90d3f491cdd404a737f1ae5ce99bca19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<com:TContent ID="Content">
  <com:CalendarDetails RaiseException="True">
    <prop:Facade><%= CalendarFacade::getInstance() %></prop:Facade>
    <prop:CalendarUrl><%= $this->Request->itemAt('calendar') %></prop:CalendarUrl>
  </com:CalendarDetails>
  <com:AddToFilter>
    <prop:Facade><%= CalendarFacade::getInstance() %></prop:Facade>
    <prop:UserToManage><%= $this->getUser() %></prop:UserToManage>
    <prop:CalendarUrl><%= $this->Request->itemAt('calendar') %></prop:CalendarUrl>
    <prop:Description>
      <%[ calendar visible in current filter selection ]%>
    </prop:Description>
  </com:AddToFilter>
  <com:EventList DateFrom="now" DateTo="+1 year">
    <prop:Facade><%= CalendarFacade::getInstance() %></prop:Facade>
    <prop:CalendarUrl><%= $this->Request->itemAt('calendar') %></prop:CalendarUrl>
    <prop:HeaderText>
      <%[ Upcoming events in the calendar: ]%>
    </prop:HeaderText>
  </com:EventList>
  <com:EventList DateTo="now" Reverse="true">
    <prop:Facade><%= CalendarFacade::getInstance() %></prop:Facade>
    <prop:CalendarUrl><%= $this->Request->itemAt('calendar') %></prop:CalendarUrl>
    <prop:HeaderText>
      <%[ Past events in the calendar: ]%>
    </prop:HeaderText>
  </com:EventList>
</com:TContent>