]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/basket/total_sum.tpl
Please cherry-pick:
[pizzaservice-war.git] / web / WEB-INF / templates / basket / total_sum.tpl
index c350d77c282188f9b3105bf2aab17b8726bcf727..f460942179d13aa1a0423165425012b1f8247822 100644 (file)
@@ -1,20 +1,21 @@
 <?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">
 <ui:composition
-         xmlns="http://www.w3.org/1999/xhtml"
-         xmlns:ui="http://java.sun.com/jsf/facelets"
-         xmlns:h="http://xmlns.jcp.org/jsf/html"
-         xmlns:f="http://xmlns.jcp.org/jsf/core"
-         >
+       xmlns="http://www.w3.org/1999/xhtml"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:h="http://xmlns.jcp.org/jsf/html"
+       xmlns:f="http://xmlns.jcp.org/jsf/core"
+       >
 
        <ui:fragment rendered="#{basketController.hasItems()}">
                <div class="totals_container">
-                       #{msg.TOTAL_ORDER_PRICE}
-                       <h:outputText class="price" id="total_sum" value="#{basketController.calculateTotalPrice()}">
+                       <h:outputText value="#{msg.TOTAL_ORDER_PRICE}" />
+
+                       <h:outputText styleClass="price" id="total_sum" value="#{basketController.calculateTotalPrice()}">
                                <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
                        </h:outputText>
                </div>
        </ui:fragment>
 
-       <h:outputText class="empty_basket" value="#{msg.NO_ITEMS_ADDED_TO_BASKET}" rendered="#{basketController.isEmpty()}" />
+       <h:outputText styleClass="empty_basket" value="#{msg.NO_ITEMS_ADDED_TO_BASKET}" rendered="#{basketController.isEmpty()}" />
 </ui:composition>