remove notification center
This commit is contained in:
parent
b5495bda3d
commit
adcd840154
|
@ -43,14 +43,6 @@ public class UserController {
|
||||||
return "user/settings";
|
return "user/settings";
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/notifications/")
|
|
||||||
public String userNotifications() {
|
|
||||||
|
|
||||||
//TODO: implement this
|
|
||||||
|
|
||||||
return "user/notifications/index";
|
|
||||||
}
|
|
||||||
|
|
||||||
@GetMapping("/orders/")
|
@GetMapping("/orders/")
|
||||||
public String userOrdeers(HttpSession session,
|
public String userOrdeers(HttpSession session,
|
||||||
Model model) {
|
Model model) {
|
||||||
|
@ -101,12 +93,4 @@ public class UserController {
|
||||||
|
|
||||||
return "user/settings";
|
return "user/settings";
|
||||||
}
|
}
|
||||||
|
|
||||||
// @GetMapping("/bonuspoints")
|
|
||||||
// public String userBonuspoints() {
|
|
||||||
// return "user/bonuspoints";
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
<ul class="secondary">
|
<ul class="secondary">
|
||||||
<li><a th:href="@{/}"> > Zur Startseite</a></li>
|
<li><a th:href="@{/}"> > Zur Startseite</a></li>
|
||||||
<li><a th:href="@{/user/settings}">Einstellungen</a></li>
|
<li><a th:href="@{/user/settings}">Einstellungen</a></li>
|
||||||
<!--<li><a th:href="@{/user/bonuspoints}">Bonuspunkte</a></li>-->
|
|
||||||
<li><a th:href="@{/user/notifications/}">Benachrichtigungen</a></li>
|
|
||||||
<li><a th:href="@{/user/orders/}">Bestellungen</a></li>
|
<li><a th:href="@{/user/orders/}">Bestellungen</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
<div th:if="${user}" class="dropdown">
|
<div th:if="${user}" class="dropdown">
|
||||||
<a class="dropdown-button button">Mein Konto</a>
|
<a class="dropdown-button button">Mein Konto</a>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
<a class="black button" th:href="@{/user/notifications/}">Benachrichtigungen</a>
|
|
||||||
<a class="black button" th:href="@{/user/}">Einstellungen</a>
|
<a class="black button" th:href="@{/user/}">Einstellungen</a>
|
||||||
<a class="black button" th:href="@{/user/orders/}">Meine Bestellungen</a>
|
<a class="black button" th:href="@{/user/orders/}">Meine Bestellungen</a>
|
||||||
<form th:if="${user}" method="post" th:action="@{/logout}" class="no-margin">
|
<form th:if="${user}" method="post" th:action="@{/logout}" class="no-margin">
|
||||||
|
|
Reference in New Issue