fixed links to offered articles page
This commit is contained in:
parent
2bbf8260f4
commit
4f6388e4b9
|
@ -1,7 +1,5 @@
|
|||
package org.hso.ecommerce.controller.intern.suppliers;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
@ -11,11 +9,16 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||
@RequestMapping("/intern/")
|
||||
public class SupplierOfferController {
|
||||
|
||||
@GetMapping("suppliersOffers")
|
||||
public String internListedArticles(Model model, HttpSession session) {
|
||||
|
||||
System.out.println("\nhier\n");
|
||||
@GetMapping("supplierOffers")
|
||||
public String internListedArticles(Model model) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return "intern/offeredArticles/index";
|
||||
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<li><a th:href="@{/intern/suppliers/}">Lieferanten</a>
|
||||
<ul>
|
||||
<li><a th:href="@{/intern/supplierOrders/}">Bestellungen</a></li>
|
||||
<li><a th:href="@{/intern/suppliers/articles/}">> Händlerangebote</a></li>
|
||||
<li><a th:href="@{/intern/supplierOffers}">> Händlerangebote</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div class="content-width">
|
||||
<p>
|
||||
Weitere Artikel können über Artikelübersicht der Lieferanten hinzugefügt werden.
|
||||
<a class="button smaller" th:href="@{/intern/suppliers/articles}"> Jetzt Hinzufügen </a>
|
||||
<a class="button smaller" th:href="@{/intern/supplierOffers}"> Jetzt Hinzufügen </a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<div class="sidebar-layout content-width">
|
||||
<nav></nav>
|
||||
<div>
|
||||
<h1>Übersicht der von Lieferanten angebotenen Artikel</h1>
|
||||
<h1>Übersicht der Angebote von Lieferanten</h1>
|
||||
|
||||
<script th:src="@{/js/back.js}"></script>
|
||||
<div class="back" data-group="intern" data-name="Zurück zur Übersicht der von Lieferanten angebotenen Artikel."
|
||||
|
|
Reference in New Issue