From 39fb735f2158f116469d002ea8389c3461763786 Mon Sep 17 00:00:00 2001
From: localhorst
Date: Sat, 16 May 2020 21:49:31 +0200
Subject: [PATCH] added link from listedArticles page to related offered
article
---
.../controller/intern/suppliers/SupplierOfferController.java | 2 ++
.../src/main/resources/templates/intern/listedArticles/id.html | 2 +-
.../main/resources/templates/intern/listedArticles/index.html | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java
index bd27558..501d749 100644
--- a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java
+++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java
@@ -6,7 +6,9 @@ import java.util.List;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
@Controller
@RequestMapping("/intern/")
diff --git a/prototype/src/main/resources/templates/intern/listedArticles/id.html b/prototype/src/main/resources/templates/intern/listedArticles/id.html
index 3e18cb8..b2e878a 100644
--- a/prototype/src/main/resources/templates/intern/listedArticles/id.html
+++ b/prototype/src/main/resources/templates/intern/listedArticles/id.html
@@ -29,7 +29,7 @@
-
Details |
+ Details |
diff --git a/prototype/src/main/resources/templates/intern/listedArticles/index.html b/prototype/src/main/resources/templates/intern/listedArticles/index.html
index ad8a771..2840417 100644
--- a/prototype/src/main/resources/templates/intern/listedArticles/index.html
+++ b/prototype/src/main/resources/templates/intern/listedArticles/index.html
@@ -53,7 +53,7 @@
€ |
|
|
-
|
+
|
|
|