]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/index.xhtml
updated jar(s)
[pizzaservice-war.git] / web / index.xhtml
index 77afb9fc2c2782e7c30f1bbb5bf4f15bc341f853..c1d7253b1cb10b85ef9d00d13d487d571c1014f7 100644 (file)
@@ -26,7 +26,7 @@
                                </div>
                        </div>
 
-                       <h:dataTable value="#{controller.availableProducts}" var="product" class="table">
+                       <h:dataTable id="table_show_available_products" var="product" value="#{controller.availableProducts}" styleClass="table" summary="#{msg.TABLE_SUMMARY_INDEX_PRODUCTS}">
                                <h:column>
                                        <div id="main_item_container">
                                                <div class="item_title">
@@ -38,7 +38,7 @@
                                                                <div class="item_actions">
                                                                        <ui:fragment rendered="#{!basketController.isProductAdded(product)}">
                                                                                <h:form id="add_item">
-                                                                                       <h:commandButton class="submit" id="add" value="#{msg.ADMIN_ADD_ITEM_TO_BASKET}" action="#{basketController.addItem(product)}" title="#{msg.BUTTON_TITLE_ADD_ITEM_TO_BASKET}" />
+                                                                                       <h:commandButton class="submit" id="add" value="#{msg.USER_ADD_ITEM_TO_BASKET}" action="#{basketController.addItem(product)}" title="#{msg.BUTTON_TITLE_ADD_ITEM_TO_BASKET}" />
 
                                                                                        <h:inputText class="input" id="amount" size="3" maxlength="20" value="#{basketController.orderedAmount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
                                                                                                <!--
@@ -94,9 +94,5 @@
                                </h:outputText>
                        </div>
                </ui:define>
-
-               <ui:define name="footer">
-                       <ui:include id="footer" class="guest_footer" src="/WEB-INF/templates/guest/guest_footer.tpl" />
-               </ui:define>
        </ui:composition>
 </html>