Resolve "As a site administrator I want to be able to review submitted trail checkpoints by business owners, so that they might be added to the existing trails
Merged
requested to merge 82-as-a-site-admininstrator-i-want-to-be-able-to-review-submited-trail-checkpoints-by-bussiness into main
Compare changes
Files
6- Rhys Evans authored
@@ -20,9 +20,9 @@ import java.util.List;
@@ -20,9 +20,9 @@ import java.util.List;
@@ -31,32 +31,33 @@ public class LandmarksController {
@@ -31,32 +31,33 @@ public class LandmarksController {
public ModelAndView landmarkSent(@Valid @ModelAttribute("landmarkData") Landmarks landmarks, BindingResult bindingResult, Model model ) {
Location loc= new Location(landmarks.getLandmarkName(), landmarks.getLandmarkEmail(), landmarks.getLandmarkDescription(), landmarks.getLandmarkLocation(), landmarks.getTrailID(), false);
List<Location> unapprovedLocations = locationRepository.getAllUnapprovedLocations(); //change to unauthorised once merger 68 accepted!! todo
@@ -66,21 +67,19 @@ public class LandmarksController {
@@ -66,21 +67,19 @@ public class LandmarksController {
public ModelAndView checkpointSent(@Valid LocationsCoordinates locCoord, Location location, BindingResult bindingResult, Model model ) {
// ModelAndView modelAndView = new ModelAndView("Landmarks/locationApprovalFormTh.html", model.asMap());
LocationsCoordinates ALocCoord = new LocationsCoordinates(locationID,locCoord.getLocationCoordsLat(),locCoord.getLocationCoordsLong());
@@ -89,6 +88,7 @@ public class LandmarksController {
@@ -89,6 +88,7 @@ public class LandmarksController {