mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Vorbereitung Webseitenstruktur HKB & HKW. Ordnerstruktur unt unrterschiedliche Layouts angelegt. Alle Views werden manuell in den Controllern angegeben.
This commit is contained in:
@@ -75,7 +75,7 @@ public class Briefecontroller : Controller {
|
||||
}
|
||||
|
||||
// Return
|
||||
return View(model);
|
||||
return View("~/Views/HKB/Dynamic/Briefe.cshtml", model);
|
||||
}
|
||||
|
||||
private IActionResult error404() {
|
||||
|
||||
@@ -11,26 +11,22 @@ public class EditionController : Controller {
|
||||
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
||||
}
|
||||
public IActionResult Kontakt() {
|
||||
return View();
|
||||
return View("~/Views/HKB/Static/Kontakt.cshtml");
|
||||
}
|
||||
|
||||
public IActionResult Mitwirkende() {
|
||||
return View();
|
||||
return View("~/Views/HKB/Static/Mitwirkende.cshtml");
|
||||
}
|
||||
|
||||
public IActionResult Richtlinien() {
|
||||
return View();
|
||||
return View("~/Views/HKB/Static/Richtlinien.cshtml");
|
||||
}
|
||||
|
||||
public IActionResult Werkausgabe() {
|
||||
return View();
|
||||
return View("~/Views/HKB/Static/Werkausgabe.cshtml");
|
||||
}
|
||||
|
||||
public IActionResult Editionsgeschichte() {
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Datenschutzerklaerung() {
|
||||
return View();
|
||||
return View("~/Views/HKB/Static/Editionsgeschichte.cshtml");
|
||||
}
|
||||
}
|
||||
@@ -68,7 +68,7 @@ public class RegisterController : Controller {
|
||||
};
|
||||
|
||||
// Return
|
||||
return View("Index", model);
|
||||
return View("~/Views/HKB/Dynamic/Register.cshtml", model);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
@@ -101,7 +101,7 @@ public class RegisterController : Controller {
|
||||
};
|
||||
|
||||
// Return
|
||||
return View("Index", model);
|
||||
return View("~/Views/HKB/Dynamic/Register.cshtml", model);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
@@ -143,7 +143,7 @@ public class RegisterController : Controller {
|
||||
};
|
||||
|
||||
// Return
|
||||
return View("Index", model);
|
||||
return View("~/Views/HKB/Dynamic/Register.cshtml", model);
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
|
||||
@@ -175,7 +175,7 @@ public class SucheController : Controller {
|
||||
zhvolume = zhvolume == null ? "1" : zhvolume;
|
||||
var model = new SucheViewModel(letters, page, pages, _getAvailablePersons(lib), availablePages.OrderBy(x => x.Volume).ToList(), zhvolume, zhpage, activeSearch, searchResults);
|
||||
if (person != null) model.ActivePerson = person;
|
||||
return View("Index", model);
|
||||
return View("~/Views/HKB/Dynamic/Suche.cshtml", model);
|
||||
}
|
||||
|
||||
private IActionResult _error404() {
|
||||
|
||||
@@ -87,13 +87,13 @@ public class UploadController : Controller {
|
||||
model.HamannFiles = hamannFiles;
|
||||
model.AvailableFiles = XMLFileHelpers.ToFileModel(_xmlProvider.GetFiles(id), pF, uF);
|
||||
|
||||
return View("../Admin/Upload/Index", model);
|
||||
return View("~/Views/Admin/Dynamic/Upload.cshtml", model);
|
||||
} else {
|
||||
var model = new UploadViewModel("Upload & Veröffentlichen", id, roots, usedFiles);
|
||||
model.ProductionFiles = productionFiles;
|
||||
model.HamannFiles = hamannFiles;
|
||||
|
||||
return View("../Admin/Upload/Index", model);
|
||||
return View("~/Views/Admin/Dynamic/Upload.cshtml", model);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user