1 <%@ MasterClass="Application.Web.Portlets.SlideWindow" %>
2 <com:TContent ID="SlideWindowContent">
3 <com:TActivePanel ID="RepeaterShow">
4 <com:TActiveRepeater ID="Repeater">
6 <%=($this->getPage()->JobRunWindow->oldDirector != $this->DataItem['director']) ? '<div class="window-section"><span>' . Prado::localize('Director:') . ' ' . $this->DataItem['director'] . '<span></div>': ''%>
7 <com:TPanel ID="JobRunElement" CssClass="slide-window-element" >
8 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/job-icon.png" alt="" /> <%=@$this->DataItem['name']%>
9 <input type="hidden" name="<%=$this->ClientID%>" value="<%=isset($this->DataItem['name']) ? $this->DataItem['name'] : ''%>" />
12 <%=!($this->getPage()->JobRunWindow->oldDirector = $this->DataItem['director'])%>
14 </com:TActiveRepeater>
16 <com:TActivePanel ID="DataGridShow">
19 AutoGenerateColumns="false"
21 OnSortCommand="sortDataGrid"
23 CssClass="window-section-detail-smallrow"
24 ItemStyle.CssClass="slide-window-element"
25 AlternatingItemStyle.CssClass="slide-window-element-alternating"
27 <com:TActiveTemplateColumn HeaderText="<%[ Job name ]%>" SortExpression="name">
29 <div><%=$this->getParent()->DataItem['name']%></div>
30 <input type="hidden" name="<%=$this->getParent()->ClientID%>" value="<%=$this->getParent()->DataItem['name']%>" />
32 </com:TActiveTemplateColumn>
33 <com:TActiveBoundColumn
34 SortExpression="director"
35 HeaderText="<%[ Director ]%>"
37 ItemStyle.HorizontalAlign="Center"
39 </com:TActiveDataGrid>
41 <com:TCallback ID="DataElementCall" OnCallback="Page.JobRunWindow.configure">
42 <prop:ClientSide.OnComplete>
43 ConfigurationWindow.getObj('JobRunWindow').show();
44 ConfigurationWindow.getObj('JobRunWindow').progress(false);
45 </prop:ClientSide.OnComplete>