]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/guest/user/user_profile.xhtml
should be userResendConfirmationController to make it more clear
[jjobs-war.git] / web / guest / user / user_profile.xhtml
index 5428ccd4109b303fed0af18202c538e3275ea263..db10a2fc99a0b36719925a2a5f632ceb72817bfd 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html
        lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
                                        <ui:include src="/WEB-INF/templates/user/userid_error.tpl" />
                                </ui:fragment>
 
-                               <h:outputText value="#{msg.ERROR_PROFILE_NOT_VISIBLE}" rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}" />
+                               <ui:fragment rendered="#{not profileController.isProfileLinkVisibleById(userController.userId)}">
+                                       <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+                                               <ui:param name="message" value="#{msg.ERROR_PROFILE_NOT_VISIBLE}" />
+                                               <ui:param name="styleClass" value="errors" />
+                                       </ui:include>
+                               </ui:fragment>
 
                                <ui:fragment rendered="#{profileController.isProfileLinkVisibleById(userController.userId)}">
                                        <div align="center">
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not userController.isPublicUserProfileEnabled()}">
-                               <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" />
+                               <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+                                       <ui:param name="message" value="#{msg.ERROR_GUEST_USER_PROFILE_DEACTIVATED}" />
+                                       <ui:param name="styleClass" value="errors" />
+                               </ui:include>
                        </ui:fragment>
                </ui:define>
        </ui:composition>