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)
|
if(page != null)
|
||||||
content = page.htmlResponse(context, client_info, session, cookie, request);
|
content = page.htmlResponse(context, client_info, session, cookie, request);
|
||||||
if(content != null) {
|
if(content != null) {
|
||||||
tmpl.set("nav", context.getBreadcrumb().get(1));
|
content.set("nav", context.getBreadcrumb().get(1));
|
||||||
tmpl.set("content", content.compile());
|
tmpl.set("content", content.compile());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ public class ServicePage implements WAPage {
|
||||||
|
|
||||||
WANavigation nav = new WANavigation(NAVIGATION_NAME, this);
|
WANavigation nav = new WANavigation(NAVIGATION_NAME, this);
|
||||||
for(WAService plugin : services) {
|
for(WAService plugin : services) {
|
||||||
nav.addSubNav(new WANavigation(plugin.getName()));
|
nav.addSubNav(new WANavigation(plugin.getName(), plugin));
|
||||||
statuses.add(new ServiceStatusPage(plugin.getStatus()));
|
statuses.add(new ServiceStatusPage(plugin.getStatus()));
|
||||||
}
|
}
|
||||||
WANavigation.addRootNav(nav);
|
WANavigation.addRootNav(nav);
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ public class StatusPage implements WAPage {
|
||||||
Map<String, String> request) {
|
Map<String, String> request) {
|
||||||
|
|
||||||
WAStatus obj = getPlugin(context);
|
WAStatus obj = getPlugin(context);
|
||||||
|
|
||||||
if(obj != null) {
|
if(obj != null) {
|
||||||
return new Templator(obj.html());
|
return new Templator(obj.html());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue