]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added title for mini basket
authorRoland Haeder <roland@mxchange.org>
Tue, 1 Sep 2015 06:42:23 +0000 (08:42 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 1 Sep 2015 06:42:23 +0000 (08:42 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
src/java/org/mxchange/pizzaapplication/tags/basket/MiniBasketTag.java

index 35d75a9f06ae4c153dbdeec612003997163b5ecf..f13ba2385ea3917ae0218d1810acc49cf04b55f7 100644 (file)
@@ -20,3 +20,4 @@ MiniBasketTag.basket_is_empty=Der Warenkorb ist leer.
 MiniBasketTag.last_item=Zuletzt hinzugef&uuml;gt: {0}
 MiniBasketTag.additional_items=Es befinden sich noch {0} weitere Produkte im Warenkorb.
 MiniBasketTag.to_basket=Zum Warenkorb
+MiniBasketTag.header=Warenkorb
index 646cd4e427a8e021f1ab32b520d88b5162989a91..1dc42122a0008bbe84600d532a56b28281a10552 100644 (file)
@@ -20,3 +20,4 @@ MiniBasketTag.basket_is_empty=The basket is empty.
 MiniBasketTag.last_item=Last added item: {0}
 MiniBasketTag.additional_items=There are {0} items in the basket.
 MiniBasketTag.to_basket=To basket
+MiniBasketTag.header=Basket
index f487690e56fc5767977e3a51d1d4cbaca862c133..9cdd3cd24fc9f68cdd5a1ccf7c83c5c9fc914df0 100644 (file)
@@ -124,6 +124,9 @@ public class MiniBasketTag extends BodyTagSupport implements BasketTag {
 
                                // Output all
                                out.append("<div class=\"mini_basket_box\">\n"); //NOI18N
+                               out.append("  <div class=\"mini_basket_header\">\n"); //NOI18N
+                               out.append("    ").append(this.getBasket().getMessageStringFromKey("MiniBasketTag.header")).append("\n"); //NOI18N
+                               out.append("  </div>\n"); //NOI18N
                                out.append("  <div class=\"mini_basket_last\">\n"); //NOI18N
                                out.append("    ").append(MessageFormat.format(this.getBasket().getMessageStringFromKey("MiniBasketTag.last_item"), product.getTitle())); //NOI18N
                                out.append("  </div>\n"); //NOI18N