summaryrefslogtreecommitdiff
path: root/app/frontend/controls/UserSelection.tpl
blob: 8d2036583665ac343ec46f063cf18459585af666 (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
29
<%[ Selected calendars: ]%>
<br />
<com:TRepeater ID="Categories" OnItemDataBound="categoryDataBind">
  <prop:ItemTemplate>
    <%# $this->Data->Name %><br />
    <com:TRepeater ID="Calendars">
      <prop:ItemTemplate>
        <com:TLinkButton
            Text="[X]"
            OnCommand="SourceTemplateControl.removeFromSelection">
          <prop:CommandParameter><%# $this->Data->ID %></prop:CommandParameter>
          <prop:Visible><%# !$this->SourceTemplateControl->UserToDisplay->IsGuest %></prop:Visible>
        </com:TLinkButton>
        <%# $this->Data->Name %>
        <com:THyperLink>
          <prop:Text><%[ (details) ]%></prop:Text>
          <prop:NavigateUrl><%# $this->Service->constructUrl('Calendar', ['calendar' => $this->Data->Url]) %></prop:NavigateUrl>
        </com:THyperLink>
        <com:THyperLink
            Text="(www)"
            Target="_blank">
          <prop:NavigateUrl><%# $this->Data->Website %></prop:NavigateUrl>
        </com:THyperLink>
        <br />
      </prop:ItemTemplate>
    </com:TRepeater>
    <br />
  </prop:ItemTemplate>
</com:TRepeater>