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->clientid%>" class="slide-window-element" title="<%=@$this->DataItem->uname%>">
7 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/client-icon.png" alt="" /><%#$this->DataItem->name%>
10 </com:TActiveRepeater>
12 <com:TActivePanel ID="DataGridShow">
15 AutoGenerateColumns="false"
17 OnSortCommand="sortDataGrid"
19 CssClass="window-section-detail-smallrow"
20 ItemStyle.CssClass="slide-window-element"
21 AlternatingItemStyle.CssClass="slide-window-element-alternating"
23 <com:TActiveTemplateColumn HeaderText="<%[ Client name ]%>" SortExpression="name">
25 <div data-type="item_value" rel="<%=$this->getParent()->Data['clientid']%>"><%=$this->getParent()->Data['name']%></div>
27 </com:TActiveTemplateColumn>
28 <com:TActiveTemplateColumn ItemStyle.HorizontalAlign="Center" HeaderText="AutoPrune" SortExpression="autoprune">
30 <%=$this->getParent()->Data['autoprune'] == 1 ? Prado::localize('Yes') : Prado::localize('No')%>
32 </com:TActiveTemplateColumn>
33 <com:TActiveTemplateColumn HeaderText="<%[ File Retention ]%>" SortExpression="fileretention">
35 <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>
37 </com:TActiveTemplateColumn>
38 <com:TActiveTemplateColumn HeaderText="<%[ Job Retention ]%>" SortExpression="jobretention">
40 <%=(integer)($this->getParent()->Data['jobretention'] / 3600 / 24)%> <%=$this->getParent()->Data['jobretention'] < 172800 ? Prado::localize('day') : Prado::localize('days')%>
42 </com:TActiveTemplateColumn>
43 </com:TActiveDataGrid>
45 <com:TCallback ID="DataElementCall" OnCallback="Page.ClientWindow.configure">
46 <prop:ClientSide.OnComplete>
47 ConfigurationWindow.getObj('ClientWindow').show();
48 Formatters.set_formatters();
49 bind_jobs_for_client_action();
50 ConfigurationWindow.getObj('ClientWindow').progress(false);
51 </prop:ClientSide.OnComplete>