remove notification center

This commit is contained in:
Hannes Huber 2020-05-19 14:17:38 +02:00
parent b5495bda3d
commit adcd840154
3 changed files with 0 additions and 19 deletions

View File

@ -43,14 +43,6 @@ public class UserController {
return "user/settings";
}
@GetMapping("/notifications/")
public String userNotifications() {
//TODO: implement this
return "user/notifications/index";
}
@GetMapping("/orders/")
public String userOrdeers(HttpSession session,
Model model) {
@ -101,12 +93,4 @@ public class UserController {
return "user/settings";
}
// @GetMapping("/bonuspoints")
// public String userBonuspoints() {
// return "user/bonuspoints";
// }
}

View File

@ -12,8 +12,6 @@
<ul class="secondary">
<li><a th:href="@{/}"> &gt; Zur Startseite</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>
</ul>
</nav>

View File

@ -18,7 +18,6 @@
<div th:if="${user}" class="dropdown">
<a class="dropdown-button button">Mein Konto</a>
<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/orders/}">Meine Bestellungen</a>
<form th:if="${user}" method="post" th:action="@{/logout}" class="no-margin">