1 <%@ MasterClass="Application.Web.Portlets.SlideWindow"%>
2 <com:TContent ID="SlideWindowContent">
3 <com:TActivePanel ID="RepeaterShow">
4 <com:TActiveRepeater ID="Repeater">
6 <div data-type="item_value" rel="<%#$this->DataItem->poolid%>" class="slide-window-element">
7 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/pool.png" alt="" /><%#$this->DataItem->name%>
10 </com:TActiveRepeater>
13 <com:TActivePanel ID="DataGridShow">
16 AutoGenerateColumns="false"
18 OnSortCommand="sortDataGrid"
20 CssClass="window-section-detail-smallrow"
21 ItemStyle.CssClass="slide-window-element"
22 AlternatingItemStyle.CssClass="slide-window-element-alternating"
24 <com:TActiveTemplateColumn HeaderText="Pool name" SortExpression="name">
26 <div data-type="item_value" rel="<%=$this->getParent()->Data['poolid']%>"><%=$this->getParent()->Data['name']%></div>
28 </com:TActiveTemplateColumn>
29 <com:TActiveBoundColumn
30 SortExpression="numvols"
31 HeaderText="Vol. number"
33 ItemStyle.HorizontalAlign="Center"
35 <com:TActiveTemplateColumn HeaderText="Vol. retention" SortExpression="volretention">
37 <div rel="<%=$this->getParent()->Data['volretention']%>"><%=(integer)($this->getParent()->Data['volretention'] / 3600 / 24)%> <%=$this->getParent()->Data['volretention'] < 172800 ? 'day' : 'days'%>
39 </com:TActiveTemplateColumn>
40 <com:TActiveTemplateColumn HeaderText="AutoPrune" SortExpression="autoprune" ItemStyle.HorizontalAlign="Center">
42 <%=$this->getParent()->Data['autoprune'] == 1 ? 'Yes' : 'No'%>
44 </com:TActiveTemplateColumn>
45 <com:TActiveTemplateColumn HeaderText="Recycle" SortExpression="recycle" ItemStyle.HorizontalAlign="Center">
47 <%=$this->getParent()->Data['recycle'] == 1 ? 'Yes' : 'No'%>
49 </com:TActiveTemplateColumn>
50 </com:TActiveDataGrid>
52 <com:TCallback ID="DataElementCall" OnCallback="Page.PoolWindow.configure">
53 <prop:ClientSide.OnComplete>
54 ConfigurationWindow.getObj('PoolWindow').show();
55 ConfigurationWindow.getObj('PoolWindow').progress(false);
56 </prop:ClientSide.OnComplete>