]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl
Updated copyright year
[jjobs-war.git] / web / WEB-INF / resources / tags / profile / user / user_profile_link.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:core="http://mxchange.org/jsf/core/widgets"
5         xmlns:f="http://java.sun.com/jsf/core"
6         xmlns:h="http://java.sun.com/jsf/html"
7         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8         xmlns:p="http://primefaces.org/ui"
9         >
10
11         <core:outputMessageBox
12                 panelGroupId="nonPublicUserProfile"
13                 message="#{msg.USER_PROFILE_NOT_PUBLICLY_VISIBLE}"
14                 boxStyleClass="message-mini"
15                 messageStyleClass="notice"
16                 rendered="#{not empty user and not profileController.isProfileLinkVisibleByUser(user)}"
17                 />
18
19         <p:link
20                 outcome="user_profile"
21                 title="#{msg.LINK_USER_PROFILE_TITLE}"
22                 rendered="#{not empty user and profileController.isProfileLinkVisibleByUser(user)}"
23                 >
24                 <h:outputText value="#{user.userName}" />
25                 <f:param name="userId" value="#{user.userId}" />
26         </p:link>
27 </ui:composition>