mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 13:28:21 +00:00
Adding missing page titles
This commit is contained in:
parent
8a9548b312
commit
8b9ea56b48
@ -543,6 +543,7 @@ public class SnapAdminController {
|
||||
"page",
|
||||
userActionService.findActions(searchRequest)
|
||||
);
|
||||
model.addAttribute("title", "Action logs");
|
||||
model.addAttribute("schemas", snapAdmin.getSchemas());
|
||||
model.addAttribute("searchRequest", searchRequest);
|
||||
return "logs";
|
||||
@ -551,12 +552,14 @@ public class SnapAdminController {
|
||||
|
||||
@GetMapping("/settings")
|
||||
public String settings(Model model) {
|
||||
model.addAttribute("title", "Settings");
|
||||
model.addAttribute("activePage", "settings");
|
||||
return "settings/settings";
|
||||
}
|
||||
|
||||
@GetMapping("/help")
|
||||
public String about(Model model) {
|
||||
public String help(Model model) {
|
||||
model.addAttribute("title", "Help");
|
||||
model.addAttribute("activePage", "help");
|
||||
return "help";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user