bugfixes
This commit is contained in:
parent
ab7296198a
commit
b5c3c18e28
3 changed files with 2 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ public class WAAbstractPage implements HttpPage{
|
|||
if(page != null)
|
||||
content = page.htmlResponse(context, client_info, session, cookie, request);
|
||||
if(content != null) {
|
||||
tmpl.set("nav", context.getBreadcrumb().get(1));
|
||||
content.set("nav", context.getBreadcrumb().get(1));
|
||||
tmpl.set("content", content.compile());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public class ServicePage implements WAPage {
|
|||
|
||||
WANavigation nav = new WANavigation(NAVIGATION_NAME, this);
|
||||
for(WAService plugin : services) {
|
||||
nav.addSubNav(new WANavigation(plugin.getName()));
|
||||
nav.addSubNav(new WANavigation(plugin.getName(), plugin));
|
||||
statuses.add(new ServiceStatusPage(plugin.getStatus()));
|
||||
}
|
||||
WANavigation.addRootNav(nav);
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ public class StatusPage implements WAPage {
|
|||
Map<String, String> request) {
|
||||
|
||||
WAStatus obj = getPlugin(context);
|
||||
|
||||
if(obj != null) {
|
||||
return new Templator(obj.html());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue