diff options
Diffstat (limited to 'app/frontend/controls/CalendarGrid.tpl')
-rw-r--r-- | app/frontend/controls/CalendarGrid.tpl | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/app/frontend/controls/CalendarGrid.tpl b/app/frontend/controls/CalendarGrid.tpl index 2b3ada8..37ee81a 100644 --- a/app/frontend/controls/CalendarGrid.tpl +++ b/app/frontend/controls/CalendarGrid.tpl @@ -1,23 +1,15 @@ -<com:TRepeater ID="Weeks" OnItemDataBound="weekDataBind"> +<com:TRepeater ID="Weeks" + OnItemDataBound="weekDataBind"> <prop:ItemTemplate> <div class="gridWeek"> - <com:TRepeater ID="Days" OnItemDataBound="SourceTemplateControl.dayDataBind"> + <com:TRepeater ID="Days" + OnItemDataBound="SourceTemplateControl.dayDataBind"> <prop:ItemTemplate> <div class="gridDay"> <%# $this->Data->Date %> - <com:TRepeater ID="Events"> + <com:TRepeater ID="Events" + OnItemCreated="SourceTemplateControl.eventCreate"> <prop:ItemTemplate> - <com:TConditional Condition="$this->Data"> - <prop:TrueTemplate> - <com:THtmlElement TagName="div"> - <prop:CssClass>gridEvent <%# $this->Parent->Parent->Data->Date == $this->Data->DateFrom ? 'beginDate' : '' %> <%# $this->Parent->Parent->Data->Date == $this->Data->DateTo ? 'endDate' : '' %></prop:CssClass> - <%# $this->Data->Name %> - </com:THtmlElement> - </prop:TrueTemplate> - <prop:FalseTemplate> - <div class="gridItem"> </div> - </prop:FalseTemplate> - </com:TConditional> </prop:ItemTemplate> </com:TRepeater> </div> |