E-A B
2 anni fa
20 ha cambiato i file con 147 aggiunte e 88 eliminazioni
@ -1,44 +1,65 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
<%@ include file="/html/admin_maintenance/init.jsp" %> |
<%@ include file="/html/admin_maintenance/init.jsp" %> |
||||||
<% |
<% |
||||||
PortletURL iteratorURL = liferayPortletResponse.createRenderURL(); |
PortletURL iteratorURL = liferayPortletResponse.createRenderURL(); |
||||||
%> |
%> |
||||||
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" iteratorURL="<%= iteratorURL %>" |
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" iteratorURL="<%= iteratorURL %>" |
||||||
total="<%=MaintenanceScheduleLocalServiceUtil.countAll() %>"> |
total="<%=MaintenanceScheduleLocalServiceUtil.countAll() %>"> |
||||||
|
|
||||||
<% request.setAttribute("liferay-ui:search:searchContainer", searchContainer); %> |
<% request.setAttribute("liferay-ui:search:searchContainer", searchContainer); %> |
||||||
|
|
||||||
<liferay-util:include page="/html/admin_maintenance/toolbar.jsp" servletContext="<%= application %>" /> |
<liferay-util:include page="/html/admin_maintenance/toolbar.jsp" servletContext="<%= application %>" /> |
||||||
<liferay-ui:search-container-results results="<%= MaintenanceScheduleLocalServiceUtil.findAll() %>" /> |
|
||||||
<liferay-ui:search-container-row className="it.tref.liferay.portos.maintenance.model.MaintenanceSchedule" |
<liferay-ui:search-container-results |
||||||
modelVar="maintenanceSchedule"> |
results="<%= MaintenanceScheduleLocalServiceUtil.findAll() %>" |
||||||
|
/> |
||||||
|
|
||||||
|
<liferay-ui:search-container-row |
||||||
|
className="it.tref.liferay.portos.maintenance.model.MaintenanceSchedule" |
||||||
|
modelVar="maintenanceSchedule" |
||||||
|
> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-id" property="maintenanceScheduleId" |
<liferay-ui:search-container-column-text name="maintenance-schedule-id" property="maintenanceScheduleId" |
||||||
orderable="true" orderableProperty="maintenanceScheduleId" /> |
orderable="<%= true %>" orderableProperty="maintenanceScheduleId" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-create-date" property="createDate" |
<liferay-ui:search-container-column-text name="maintenance-schedule-create-date" property="createDate" |
||||||
orderable="true" orderableProperty="createDate" /> |
orderable="<%= true %>" orderableProperty="createDate" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-modified-date" property="modifiedDate" |
<liferay-ui:search-container-column-text name="maintenance-schedule-modified-date" property="modifiedDate" |
||||||
orderable="true" orderableProperty="modifiedDate" /> |
orderable="<%= true %>" orderableProperty="modifiedDate" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-type" property="type" /> |
<liferay-ui:search-container-column-text name="maintenance-schedule-type" property="type" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-reason" property="reason" /> |
<liferay-ui:search-container-column-text name="maintenance-schedule-reason" property="reason" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-portal-message" property="portalMessage" /> |
<liferay-ui:search-container-column-text name="maintenance-schedule-portal-message" property="portalMessage" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-after" property="after" /> |
<liferay-ui:search-container-column-text name="maintenance-schedule-after" property="after" /> |
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-end" |
|
||||||
value="<%= maintenanceSchedule.getEnd() != null ? dateFormat.format(maintenanceSchedule.getEnd()) |
<liferay-ui:search-container-column-text name="maintenance-schedule-end" value="<%= maintenanceSchedule.getEnd() != null ? dateFormat.format(maintenanceSchedule.getEnd()) : StringPool.BLANK %>" /> |
||||||
: StringPool.BLANK %>" /> |
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-onreboot"> |
<liferay-ui:search-container-column-text name="maintenance-schedule-onreboot"> |
||||||
<%= MaintenanceOnReboot.parse(maintenanceSchedule.getOnreboot()).getDescription() %> |
<%= MaintenanceOnReboot.parse(maintenanceSchedule.getOnreboot()).getDescription() %> |
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-status" > |
|
||||||
<%=MaintenanceStatus.parse(maintenanceSchedule.getStatus()).getDescription()%> |
<liferay-ui:search-container-column-text name="maintenance-schedule-status" > <%=MaintenanceStatus.parse(maintenanceSchedule.getStatus()).getDescription()%> </liferay-ui:search-container-column-text> |
||||||
</liferay-ui:search-container-column-text> |
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-status-message" property="statusMessage" /> |
<liferay-ui:search-container-column-text name="maintenance-schedule-status-message" property="statusMessage" /> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text name="maintenance-schedule-completed"> |
<liferay-ui:search-container-column-text name="maintenance-schedule-completed"> |
||||||
<c:if test="<%= maintenanceSchedule.getCompleted() %>"> |
<c:choose> |
||||||
|
<c:when test="<%= maintenanceSchedule.getCompleted()%>"> |
||||||
<liferay-ui:icon image="check" /> |
<liferay-ui:icon image="check" /> |
||||||
</c:if> |
</c:when> |
||||||
<c:if test="<%= !maintenanceSchedule.getCompleted() %>"> |
<c:when test="<%= !maintenanceSchedule.getCompleted()%>"> |
||||||
<liferay-ui:icon image="close" /> |
<liferay-ui:icon image="close" /> |
||||||
</c:if> |
</c:when> |
||||||
|
</c:choose> |
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
|
|
||||||
<liferay-ui:search-container-column-jsp path="/html/admin_maintenance/maintenance_action.jsp" align="right" /> |
<liferay-ui:search-container-column-jsp path="/html/admin_maintenance/maintenance_action.jsp" align="right" /> |
||||||
|
|
||||||
</liferay-ui:search-container-row> |
</liferay-ui:search-container-row> |
||||||
<liferay-ui:search-iterator paginate="true" /> |
|
||||||
|
<liferay-ui:search-iterator paginate="<%= true %>" /> |
||||||
|
|
||||||
</liferay-ui:search-container> |
</liferay-ui:search-container> |
Caricamento…
Reference in new issue