Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
Issue #379
  • Loading branch information
rsoika committed Mar 8, 2022
1 parent 389499e commit d520c8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/resources/marty/userInput.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

<ui:fragment rendered="#{cc.attrs.editmode}">
<h:inputText style="display:none;" pt:data-item="marty.user.input"
value="#{cc.attrs.value}" />
<h:inputText styleClass="marty-userinput"
value="#{cc.attrs.value}"/>
<h:inputText styleClass="marty-userinput" title="#{userController.getEmail(cc.attrs.value)}"
pt:data-username="#{userInputController.getUserName(cc.attrs.value)}" />
</ui:fragment>
<ui:fragment rendered="#{!cc.attrs.editmode}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
<tr>
<td style="width: 100%;"><h:outputText
value="#{record.item['txtUserName']}"
title="#{record.item['txtEmail']}"
title="#{record.item['txtName']} - #{record.item['txtEmail']}"
rendered="#{! empty record.item['txtUserName']}" /> <h:outputText
value="#{record.item['txtName']}"
title="#{record.item['txtEmail']}"
title="#{record.item['txtName']}"
rendered="#{empty record.item['txtUserName']}" /></td>
<!-- Delete member (only in edit mode) -->
<ui:fragment rendered="#{cc.attrs.editmode}">
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/resources/marty/userSearch.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
<div class="marty-userinput-resultlist-element"
onclick="imixsMarty.selectUserID('#{suggest.item['txtname']}','#{suggest.item['txtusername']}')">
<a href="#"> <h:outputText
value="#{suggest.item['txtusername']}" escape="false" />
value="#{suggest.item['txtusername']}" escape="false" /><h:outputText rendered="#{! empty suggest.item['txtemail']}"
value=" (#{suggest.item['txtemail']})" escape="false" />
</a>
</div>
</ui:repeat>
Expand Down

0 comments on commit d520c8f

Please sign in to comment.