Skip to content

Commit

Permalink
patched for version 5.0.3
Browse files Browse the repository at this point in the history
Issue #608
  • Loading branch information
rsoika committed Sep 18, 2024
1 parent 3a254b1 commit 59cf040
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,57 @@ th {
color: #666;
}


.imixs-search .imixs-viewentry {
display: flex;
width: 100%;
}

.imixs-search .imixs-viewentry .image-block {
width: 40px;
padding: 0px;
}

.imixs-search .imixs-viewentry .content-block {
flex: 7;
/* Ratio of 80 */
padding: 0 20px 0 0;
margin-left: 5px;
}

.imixs-search .imixs-viewentry .owner-block {
flex: 3;
/* Ratio of 20 */
padding: 0px;
}

.imixs-search .imixs-viewentry .owner-block .owner-details {
display: flex;
flex-direction: column;
align-items: flex-end;
width: 100%;
}

.imixs-search .imixs-viewentry .owner-block .owner-details-row {
width: 100%;
text-align: right;
}

.imixs-search .imixs-view-details {
width: 100%;
margin-bottom: 10px;
}

.imixs-search .imixs-view-details th {
background-color: #f4f4f4 !important;
padding: 0 0 3px 0;
}

.imixs-search .imixs-view-details td {
padding: 0 10px;
}


/*
* DMS Search
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,85 +1,75 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
xmlns:marty="http://xmlns.jcp.org/jsf/composite/marty"
xmlns:i="http://xmlns.jcp.org/jsf/composite/imixs">

<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
xmlns:marty="http://xmlns.jcp.org/jsf/composite/marty" xmlns:i="http://xmlns.jcp.org/jsf/composite/imixs">

<div class="imixs-viewentry">
<!-- image block -->
<ui:include src="/layout/workitem_marker.xhtml">
<ui:param name="workitem" value="#{workitem}" />
</ui:include>

<div class="image-block">
<ui:include src="/layout/workitem_marker.xhtml">
<ui:param name="workitem" value="#{workitem}" />
</ui:include>
</div>

<!-- Standard Info -->
<div class="content-block">
<span>
<h:link outcome="/pages/workitems/workitem" >
<h:link outcome="/pages/workitems/workitem">
<!-- summary empty ? -->
<h:panelGroup
rendered="#{empty workitem.item['$WorkflowSummary']}">
<h:outputText value="#{workitem.item['$lasteventdate']}"
styleClass="imixs-viewentry-title">
<f:convertDateTime timeZone="#{message.timeZone}"
pattern="#{message.dateTimePattern}" />
<h:panelGroup rendered="#{empty workitem.item['$WorkflowSummary']}">
<h:outputText value="#{workitem.item['$lasteventdate']}" styleClass="imixs-viewentry-title">
<f:convertDateTime timeZone="#{message.timeZone}" pattern="#{message.dateTimePattern}" />
</h:outputText>
</h:panelGroup>
<h:outputText styleClass="imixs-viewentry-title" escape="false"
<h:outputText styleClass="imixs-viewentry-title" escape="false"
value="#{workitem.item['$WorkflowSummary']}" />
<f:param name="id" value="#{workitem.item['$uniqueid']}"/>
</h:link>
<f:param name="id" value="#{workitem.item['$uniqueid']}" />
</h:link>
</span>
<br />
<!-- Status -->
<strong><h:outputText
value="#{workitem.item['$workflowgroup']}" /></strong>
<strong>
<h:outputText value="#{workitem.item['$workflowgroup']}" />
</strong>
<h:outputText value=" » #{workitem.item['$workflowstatus']}" />
<h:outputText value=" (#{workitem.item['process.name']})" />



<!-- display owner -->
<h:panelGroup rendered="#{! empty workitem.item['$owner']}">
<div style="clear:left;" />
<ui:repeat value="#{workitem.itemList['$owner']}" var="name">

<ui:param name="profile" value="#{userController.getProfile(name)}"></ui:param>

<h:panelGroup layout="block" rendered="#{!empty profile}"
styleClass="imixs-user-icon" style="float: left;">

<div title=" ">
<h:graphicImage rendered="#{! empty profile.item['txtusericon']}"
value="/api/snapshot/#{profile.item['$uniqueid']}/file/#{profile.item['txtusericon']}">
</h:graphicImage>
<h:outputText rendered="#{empty profile.item['txtusericon']}"
value="#{profile.item['txtinitials']}" />
</div>
<!-- Tooltip -->
<span class="imixs-tooltip">
#{profile.item['txtusername']}
</span>
</h:panelGroup>
</ui:repeat>
<br />
<h:panelGroup layout="block" style=""
rendered="#{workitem.item['$workflowabstract'].contains('imixs-view-details')}">
<h:outputText escape="false" value="#{workitem.item['$workflowabstract']}" />
</h:panelGroup>
<div class="pull-right">
<h:outputText
value="#{userController.getUserName(workitem.item['$Editor'])} - " />
<h:outputText value="#{workitem.item['$lasteventdate']}"
style="font-weight: normal;">
<f:convertDateTime timeZone="#{message.timeZone}"
pattern="#{message.dateTimePatternLong}" />
</h:outputText>
</div>
</div>

<!-- clear floating problem from sidebar in ff and chrome. -->
<div style="clear: left;" />

<div class="owner-block">
<div class="owner-details">
<!-- modified -->
<div class="owner-details-row">
<h:outputText value="#{userController.getUserName(workitem.item['$Editor'])} - " />
<h:outputText value="#{workitem.item['$lasteventdate']}" style="font-weight: normal;">
<f:convertDateTime timeZone="#{message.timeZone}" pattern="#{message.dateTimePatternLong}" />
</h:outputText>
</div>
<!-- display owner -->
<h:panelGroup layout="block" rendered="#{! empty workitem.item['$owner']}" class="owner-details-row">
<ui:repeat value="#{workitem.itemList['$owner']}" var="name">
<ui:param name="profile" value="#{userController.getProfile(name)}"></ui:param>
<h:panelGroup layout="block" rendered="#{!empty profile}" styleClass="imixs-user-icon"
style="float: right;">
<div title=" ">
<h:graphicImage rendered="#{! empty profile.item['txtusericon']}"
value="/api/snapshot/#{profile.item['$uniqueid']}/file/#{profile.item['txtusericon']}">
</h:graphicImage>
<h:outputText rendered="#{empty profile.item['txtusericon']}"
value="#{profile.item['txtinitials']}" />
</div>
<!-- Tooltip -->
<span class="imixs-tooltip">
#{profile.item['txtusername']}
</span>
</h:panelGroup>
</ui:repeat>
</h:panelGroup>
</div>
</div>
</div>


</ui:composition>

</ui:composition>

0 comments on commit 59cf040

Please sign in to comment.