mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115 lines
4.8 KiB
Plaintext
115 lines
4.8 KiB
Plaintext
<%--
|
|
* Copyright (C) 2005-2010 Alfresco Software Limited.
|
|
*
|
|
* This file is part of Alfresco
|
|
*
|
|
* Alfresco is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Alfresco is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
--%>
|
|
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
|
|
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
|
|
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
|
|
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
|
|
|
<a:panel id="props-panel" label="#{msg.workitem_properties}"
|
|
border="white" bgcolor="white" titleBorder="lbgrey" expandedTitleBorder="dotted" titleBgcolor="white" styleClass="mainSubTitle">
|
|
|
|
<r:propertySheetGrid id="work-item-props" value="#{DialogManager.bean.workItemNode}"
|
|
var="workItemProps" columns="1" externalConfig="true" />
|
|
</a:panel>
|
|
|
|
<h:outputText styleClass="paddingRow" value=" " escape="false" />
|
|
|
|
<a:panel id="resources-panel" label="#{msg.resources}"
|
|
border="white" bgcolor="white" titleBorder="lbgrey" expandedTitleBorder="dotted" titleBgcolor="white" styleClass="mainSubTitle">
|
|
|
|
<a:richList id="resources-list" viewMode="details" value="#{DialogManager.bean.resources}" var="r"
|
|
binding="#{DialogManager.bean.packageItemsRichList}"
|
|
styleClass="recordSet" headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow"
|
|
altRowStyleClass="recordSetRowAlt" width="100%" pageSize="10"
|
|
initialSortColumn="name" initialSortDescending="true">
|
|
|
|
<%-- Name column --%>
|
|
<a:column primary="true" width="200" style="padding:2px; text-align:left">
|
|
<f:facet name="header">
|
|
<a:sortLink label="#{msg.name}" value="name" mode="case-insensitive" styleClass="header"/>
|
|
</f:facet>
|
|
<f:facet name="small-icon">
|
|
<a:actionLink value="#{r.name}" href="#{r.url}" target="new" image="#{r.fileType16}"
|
|
showLink="false" styleClass="inlineAction" />
|
|
</f:facet>
|
|
<a:actionLink value="#{r.name}" href="#{r.url}" target="new" />
|
|
</a:column>
|
|
|
|
<%-- Description column --%>
|
|
<a:column style="text-align:left">
|
|
<f:facet name="header">
|
|
<a:sortLink label="#{msg.description}" value="description" styleClass="header"/>
|
|
</f:facet>
|
|
<h:outputText value="#{r.description}" />
|
|
</a:column>
|
|
|
|
<%-- Path column --%>
|
|
<a:column style="text-align:left">
|
|
<f:facet name="header">
|
|
<a:sortLink label="#{msg.path}" value="path" styleClass="header"/>
|
|
</f:facet>
|
|
<r:nodePath value="#{r.path}" />
|
|
</a:column>
|
|
|
|
<%-- Created Date column --%>
|
|
<a:column style="text-align:left">
|
|
<f:facet name="header">
|
|
<a:sortLink label="#{msg.created}" value="created" styleClass="header"/>
|
|
</f:facet>
|
|
<h:outputText value="#{r.created}">
|
|
<a:convertXMLDate type="both" pattern="#{msg.date_time_pattern}" />
|
|
</h:outputText>
|
|
</a:column>
|
|
|
|
<%-- Modified Date column --%>
|
|
<a:column style="text-align:left">
|
|
<f:facet name="header">
|
|
<a:sortLink label="#{msg.modified}" value="modified" styleClass="header"/>
|
|
</f:facet>
|
|
<h:outputText value="#{r.modified}">
|
|
<a:convertXMLDate type="both" pattern="#{msg.date_time_pattern}" />
|
|
</h:outputText>
|
|
</a:column>
|
|
|
|
<%-- Actions column --%>
|
|
<a:column actions="true" style="text-align:left">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg.actions}"/>
|
|
</f:facet>
|
|
<r:actions id="actions-col-actions" value="#{DialogManager.bean.packageItemActionGroup}"
|
|
context="#{r}" showLink="false" styleClass="inlineAction" />
|
|
</a:column>
|
|
|
|
<%-- Completed column --%>
|
|
<%--
|
|
<a:column style="text-align:left">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg.completed}" />
|
|
</f:facet>
|
|
<a:actionLink value="#{r.completed}" actionListener="#{DialogManager.bean.togglePackageItemComplete}">
|
|
<f:param name="id" value="#{r.id}" />
|
|
</a:actionLink>
|
|
</a:column>
|
|
--%>
|
|
</a:richList>
|
|
|
|
<%-- Put the package actions here --%>
|
|
|
|
</a:panel>
|