xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<div class="para notice">
- #{msg.ADMIN_CUSTOMER_PERSONAL_DATA_MINIMUM_NOTICE}
+ <h:outputText value="#{msg.ADMIN_CUSTOMER_PERSONAL_DATA_MINIMUM_NOTICE}" />
</div>
<ui:include src="/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl" />
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_DELETE_CATEGORY}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_DELETE_CATEGORY}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_DELETE_CATEGORY}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_DELETE_CATEGORY}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_CATEGORY}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_CATEGORY}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_EDIT_CATEGORY}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_CATEGORY}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_CATEGORIES}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_CATEGORIES}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_CATEGORIES}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_CATEGORIES}" />
</ui:define>
<ui:define name="content">
</f:metadata>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_DELETE_CUSTOMER}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_DELETE_CUSTOMER}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_DELETE_CUSTOMER}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_DELETE_CUSTOMER}" />
</ui:define>
<ui:define name="content">
</f:metadata>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_CUSTOMER}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_CUSTOMER}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_EDIT_CUSTOMER}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_CUSTOMER}" />
</ui:define>
<ui:define name="content">
<h:form id="admin_edit_customer" rendered="#{not empty adminHelper.customer}">
<div class="table">
<div class="table_header">
- #{msg.ADMIN_EDIT_CUSTOMER_TITLE}
+ <h:outputText value="#{msg.ADMIN_EDIT_CUSTOMER_TITLE}" />
</div>
<div class="para notice">
- #{msg.ADMIN_CUSTOMER_PERSONAL_DATA_MINIMUM_NOTICE}
+ <h:outputText value="#{msg.ADMIN_CUSTOMER_PERSONAL_DATA_MINIMUM_NOTICE}" />
</div>
<ui:include src="/WEB-INF/templates/admin/customer/admin_form_customer_data.tpl">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_LIST_CUSTOMER}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CUSTOMER}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_LIST_CUSTOMER}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CUSTOMER}" />
</ui:define>
<ui:define name="content">
<h:dataTable id="table_list_customers" var="customer" value="#{customerController.allCustomers()}" styleClass="table_big" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CUSTOMER}" rendered="#{customerController.hasCustomers()}">
<h:column>
- <f:facet name="header">#{msg.ADMIN_CUSTOMER_ID}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CUSTOMER_ID}" />
+ </f:facet>
<h:link outcome="admin_show_customer" title="#{msg.ADMIN_LINK_SHOW_CUSTOMER_TITLE}" value="#{customer.customerId}">
<f:param name="customerId" value="#{customer.customerId}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADMIN_CUSTOMER_NUMBER}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CUSTOMER_NUMBER}" />
+ </f:facet>
<h:outputText value="#{customer.customerNumber}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADMIN_CONTACT_GENDER}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_GENDER}" />
+ </f:facet>
<h:outputText value="#{msg[customer.customerContact.contactGender.messageKey]}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADMIN_CONTACT_FIRST_NAME}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
+ </f:facet>
<h:outputText value="#{customer.customerContact.contactFirstName}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADMIN_CONTACT_FAMILY_NAME}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
+ </f:facet>
<h:outputText value="#{customer.customerContact.contactFamilyName}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADMIN_CUSTOMER_ACCOUNT_STATUS}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CUSTOMER_ACCOUNT_STATUS}" />
+ </f:facet>
<h:outputText styleClass="#{customer.customerAccountStatus.styleClass}" value="#{msg[customer.customerAccountStatus.messageKey]}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADMIN_CUSTOMER_CREATED}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_CUSTOMER_CREATED}" />
+ </f:facet>
<h:outputText id="customerCreated" value="#{customer.customerCreated.time}">
<f:convertDateTime for="customerCreated" type="both" timeStyle="short" dateStyle="short" />
<div class="table_medium">
<h:form id="admin_add_customer">
<div class="table_header">
- #{msg.ADMIN_ADD_CUSTOMER_TITLE}
+ <h:outputText value="#{msg.ADMIN_ADD_CUSTOMER_TITLE}" />
</div>
<div class="para">
<fieldset id="customer_contact">
- <legend title="#{msg.ADMIN_SELECT_CUSTOMER_CONTACT_LEGEND_TITLE}">#{msg.ADMIN_SELECT_CUSTOMER_CONTACT_LEGEND}</legend>
+ <legend title="#{msg.ADMIN_SELECT_CUSTOMER_CONTACT_LEGEND_TITLE}">
+ <h:outputText value="#{msg.ADMIN_SELECT_CUSTOMER_CONTACT_LEGEND}" />
+ </legend>
<div class="table_row">
<div class="table_left_medium">
</f:metadata>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_SHOW_CUSTOMER}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_SHOW_CUSTOMER}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_SHOW_CUSTOMER}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_SHOW_CUSTOMER}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_UNLOCK_CUSTOMER}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_UNLOCK_CUSTOMER}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_UNLOCK_CUSTOMER}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_UNLOCK_CUSTOMER}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_DELETE_PRODUCT}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_DELETE_PRODUCT}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_DELETE_PRODUCT}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_DELETE_PRODUCT}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_PRODUCT}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_PRODUCT}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_EDIT_PRODUCT}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_PRODUCT}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
- <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_PRODUCTS}</ui:define>
+ <ui:define name="admin_title">
+ <h:outputText value="#{msg.PAGE_TITLE_ADMIN_PRODUCTS}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_ADMIN_PRODUCTS}
+ <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_PRODUCTS}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_SHOW_BASKET}</ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_INDEX_SHOW_BASKET}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_INDEX_SHOW_BASKET}
+ <h:outputText value="#{msg.CONTENT_TITLE_INDEX_SHOW_BASKET}" />
</ui:define>
<ui:define name="content">
<h:dataTable id="table_show_basket" var="item" value="#{basketController.allItems()}" styleClass="table" summary="#{msg.TABLE_SUMMARY_SHOW_BASKET}" rendered="#{basketController.hasItems()}">
<h:column>
- <f:facet name="header">#{msg.GUEST_ITEM_TITLE}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.GUEST_ITEM_TITLE}" />
+ </f:facet>
<ui:fragment rendered="#{item.isProductType()}">
- #{item.itemProduct.productTitle}
+ <h:outputText value="#{item.itemProduct.productTitle}" />
</ui:fragment>
</h:column>
<h:column>
- <f:facet name="header">#{msg.SINGLE_PRODUCT_PRICE}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.SINGLE_PRODUCT_PRICE}" />
+ </f:facet>
<div class="item_price">
<ui:fragment rendered="#{item.isProductType()}">
</h:column>
<h:column>
- <f:facet name="header">#{msg.CHANGE_ITEM_AMOUNT}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.CHANGE_ITEM_AMOUNT}" />
+ </f:facet>
<h:form id="add_item">
<h:commandButton class="submit" id="add" value="#{msg.BUTTON_CHANGE_ITEM_AMOUNT}" action="#{basketController.doChangeItem(item)}" title="#{msg.BUTTON_TITLE_CHANGE_ITEM_AMOUNT}" />
>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">#{msg.PAGE_TITLE_CUSTOMER_CHECKOUT}</ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_CUSTOMER_CHECKOUT}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT}
+ <h:outputText value="#{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT}" />
</ui:define>
<ui:define name="content">
<div class="checkout_outer">
<div class="checkout_title">
- #{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT}
+ <h:outputText value="#{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT}" />
</div>
<div class="checkout_options">
<ul>
<li>
<div class="checkout_option_title">
- #{msg.CUSTOMER_CHECKOUT_OPTION1_TITLE}
+ <h:outputText value="#{msg.CUSTOMER_CHECKOUT_OPTION1_TITLE}" />
</div>
<div class="checkout_option_content">
<li>
<div class="checkout_option_title">
- #{msg.CUSTOMER_CHECKOUT_OPTION2_TITLE}
+ <h:outputText value="#{msg.CUSTOMER_CHECKOUT_OPTION2_TITLE}" />
</div>
<div class="checkout_option_content">
<li>
<div class="checkout_option_title">
- #{msg.CUSTOMER_CHECKOUT_OPTION3_TITLE}
+ <h:outputText value="#{msg.CUSTOMER_CHECKOUT_OPTION3_TITLE}" />
</div>
<div class="checkout_option_content">
>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_CHECKOUT2}</ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_INDEX_CHECKOUT2}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_INDEX_CHECKOUT2}
+ <h:outputText value="#{msg.CONTENT_TITLE_INDEX_CHECKOUT2}" />
</ui:define>
<ui:define name="content">
<div class="checkout_outer">
<div class="checkout_title">
- #{msg.GUEST_CHECKOUT_WITHOUT_REGISTRATION_TITLE}
+ <h:outputText value="#{msg.GUEST_CHECKOUT_WITHOUT_REGISTRATION_TITLE}" />
</div>
<div class="registration_form">
<h:form id="checkout_form">
<div class="table">
<div class="table_header">
- #{msg.GUEST_PAYMENT_WITHOUT_REGISTRATION_TITLE}
+ <h:outputText value="#{msg.GUEST_PAYMENT_WITHOUT_REGISTRATION_TITLE}" />
</div>
<ui:include src="/WEB-INF/templates/generic/form_personal_data.tpl" />
<div class="para">
+ <!-- @TODO Move this to i18n bundle //-->
Derzeit ist nur eine Bezahlung gegen Rechnung möglich.
</div>
>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">#{msg.PAGE_TITLE_CUSTOMER_CHECKOUT_DONE}</ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_CUSTOMER_CHECKOUT_DONE}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT_DONE}
+ <h:outputText value="#{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT_DONE}" />
</ui:define>
<ui:define name="content">
+ <!-- @TODO Move this to i18n bundle //-->
Rechnung abrufen:
<h:link class="receipt_link" id="receipt" outcome="pdf" value="#{msg.LINK_OPEN_RECEIPT}" target="_blank">
<f:param name="customer" value="#{checkoutController.customer.customerId}" />
>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">#{msg.PAGE_TITLE_CUSTOMER_EMPTY_BASKET}</ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_CUSTOMER_EMPTY_BASKET}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_CUSTOMER_EMPTY_BASKET}
+ <h:outputText value="#{msg.CONTENT_TITLE_CUSTOMER_EMPTY_BASKET}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_ITEM_ADDED}</ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_INDEX_ITEM_ADDED}" />
+ </ui:define>
<ui:define name="content_header">
<h:outputText value="#{msg.CONTENT_TITLE_INDEX_ITEM_ADDED}" />