1 <%@ MasterClass="Application.Portlets.SlideWindow"%>
2 <com:TContent ID="SlideWindowContent">
3 <com:TActivePanel ID="RepeaterShow">
4 <com:TActiveRepeater ID="Repeater">
6 <com:TPanel ID="ClientElement" CssClass="slide-window-element" ToolTip="<%=@$this->DataItem->uname%>">
7 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/client-icon.png" alt="" /><%=@$this->DataItem->name%>
8 <input type="hidden" name="<%=$this->ClientID%>" value="<%=isset($this->DataItem->clientid) ? $this->DataItem->clientid : ''%>" />
11 </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="<%[ Client name ]%>" SortExpression="name">
26 <div><%=$this->getParent()->Data['name']%></div>
27 <input type="hidden" name="<%=$this->getParent()->ClientID%>" value="<%=$this->getParent()->Data['clientid']%>" />
29 </com:TActiveTemplateColumn>
30 <com:TActiveTemplateColumn ItemStyle.HorizontalAlign="Center" HeaderText="AutoPrune" SortExpression="autoprune">
32 <%=$this->getParent()->Data['autoprune'] == 1 ? Prado::localize('Yes') : Prado::localize('No')%>
34 </com:TActiveTemplateColumn>
35 <com:TActiveTemplateColumn HeaderText="<%[ File Retention ]%>" SortExpression="fileretention">
37 <div rel="<%=$this->getParent()->Data['fileretention']%>"><%=(integer)($this->getParent()->Data['fileretention'] / 3600 / 24)%> <%=$this->getParent()->Data['fileretention'] < 172800 ? Prado::localize('day') : Prado::localize('days')%></div>
39 </com:TActiveTemplateColumn>
40 <com:TActiveTemplateColumn HeaderText="<%[ Job Retention ]%>" SortExpression="jobretention">
42 <%=(integer)($this->getParent()->Data['jobretention'] / 3600 / 24)%> <%=$this->getParent()->Data['jobretention'] < 172800 ? Prado::localize('day') : Prado::localize('days')%>
44 </com:TActiveTemplateColumn>
45 </com:TActiveDataGrid>
47 <com:TCallback ID="DataElementCall" OnCallback="Page.ClientWindow.configure">
48 <prop:ClientSide.OnComplete>
49 ConfigurationWindow.getObj('ClientWindow').show();
50 ConfigurationWindow.getObj('ClientWindow').progress(false);
51 </prop:ClientSide.OnComplete>