SUB_TITLE_INDEX_TERMS=Allgemeine Gesch\u00e4ftsbedingungen
PAGE_TITLE_INDEX_PRIVACY=Datenschutzbestimmungen
SUB_TITLE_INDEX_PRIVACY=Datenschutzbestimmungen:
+ADMIN_MENU_MAIN_TITLE=Hauptauswahl
+ADMIN_MENU_LOGOUT_TITLE=Ausloggen
SUB_TITLE_INDEX_TERMS=Terms & Conditions
PAGE_TITLE_INDEX_PRIVACY=Privacy
SUB_TITLE_INDEX_PRIVACY=Privacy:
+ADMIN_MENU_MAIN_TITLE=Main
+ADMIN_MENU_LOGOUT_TITLE=Logout
package org.mxchange.pizzaapplication.beans.controller;
import java.util.Deque;
+import java.util.LinkedList;
import java.util.Queue;
import javax.annotation.PostConstruct;
import javax.enterprise.context.ApplicationScoped;
@Override
public Deque<Category> getAllCategoriesParent () throws FaceletException {
// Get regular list
- Deque<Category> deque = this.getAllCategories();
+ Deque<Category> deque = new LinkedList<>(this.getAllCategories());
// Create fake entry
Category fake = new ProductCategory(0L, this.getMessage("ADMIN_CATEGORY_HAS_NO_PARENT"), 0L); //NOI18N
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
- <div id="menu">
- <ul>
- <li><h:link title="Zur Willkommensseite" outcome="admin_index" value="Home" /></li>
- <li><h:link title="Kategorie" outcome="admin_category" value="Kategorie" /></li>
- <li><h:link title="Produkt" outcome="admin_product" value="Produkte" /></li>
- </ul>
+ <div class="menu_outer">
+ <div class="menu">
+ <div class="menu_header">
+ #{msg.ADMIN_MENU_MAIN_TITLE}
+ </div>
- <ul>
- <li><h:link title="Ausloggen" outcome="admin_logout" value="Ausloggen" /></li>
- <li><h:link title="Zur Webseite, aber eingeloggt bleiben" outcome="index" value="Webseite aufrufen" /></li>
- </ul>
+ <ul>
+ <li><h:link title="Zur Willkommensseite" outcome="admin_index" value="Home" /></li>
+ <li><h:link title="Kategorie" outcome="admin_category" value="Kategorie" /></li>
+ <li><h:link title="Produkt" outcome="admin_product" value="Produkte" /></li>
+ </ul>
+
+ <div class="menu_header">
+ #{msg.ADMIN_MENU_LOGOUT_TITLE}
+ </div>
+
+ <ul>
+ <li><h:link title="Ausloggen" outcome="admin_logout" value="Ausloggen" /></li>
+ <li><h:link title="Zur Webseite, aber eingeloggt bleiben" outcome="index" value="Webseite aufrufen" /></li>
+ </ul>
+ </div>
</div>
</ui:composition>
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
+
<div class="menu_outer">
<div class="menu">
<div class="menu_header">