]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/basket/total_sum.tpl
removed recruiter stuff + re-added missing strings
[pizzaservice-war.git] / web / WEB-INF / templates / basket / total_sum.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <ui:composition
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6         xmlns:h="http://xmlns.jcp.org/jsf/html"
7         xmlns:f="http://xmlns.jcp.org/jsf/core"
8         >
9
10         <ui:fragment rendered="#{basketController.hasItems()}">
11                 <div class="totals_container">
12                         #{msg.TOTAL_ORDER_PRICE}
13                         <h:outputText styleClass="price" id="total_sum" value="#{basketController.calculateTotalPrice()}">
14                                 <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
15                         </h:outputText>
16                 </div>
17         </ui:fragment>
18
19         <h:outputText styleClass="empty_basket" value="#{msg.NO_ITEMS_ADDED_TO_BASKET}" rendered="#{basketController.isEmpty()}" />
20 </ui:composition>