diff options
author | emkael <emkael@tlen.pl> | 2016-03-12 12:36:05 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-03-12 12:36:05 +0100 |
commit | 6dcabb240f0ff0ee1654ac66f806bedb22495d23 (patch) | |
tree | 3015dec4654dbdd49a75ee2acd6eadfbe769cc3a /app/php/components/UserSelection.tpl | |
parent | e4606f2d87be0073bcba02fc5878b768260f4a7f (diff) |
* user calendar selection on profile page
Diffstat (limited to 'app/php/components/UserSelection.tpl')
-rw-r--r-- | app/php/components/UserSelection.tpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app/php/components/UserSelection.tpl b/app/php/components/UserSelection.tpl new file mode 100644 index 0000000..0532cef --- /dev/null +++ b/app/php/components/UserSelection.tpl @@ -0,0 +1,25 @@ +Selected calendars: +<br /> +<com:TRepeater ID="Categories" OnItemDataBound="categoryDataBind"> + <prop:ItemTemplate> + <%# $this->DataItem->Name %><br /> + <com:TRepeater ID="Calendars"> + <prop:ItemTemplate> + <com:TLinkButton + Text="[X]" + OnCommand="SourceTemplateControl.removeFromSelection"> + <prop:CommandParameter><%# $this->DataItem->ID %></prop:CommandParameter> + <prop:Visible><%# !$this->SourceTemplateControl->UserToDisplay->IsGuest %></prop:Visible> + </com:TLinkButton> + <%# $this->DataItem->Name %> + <com:THyperLink + Text="(www)" + Target="_blank"> + <prop:NavigateUrl><%# $this->DataItem->Website %></prop:NavigateUrl> + </com:THyperLink> + <br /> + </prop:ItemTemplate> + </com:TRepeater> + <br /> + </prop:ItemTemplate> +</com:TRepeater> |