} else {
proposalsPanel.setVisible(false);
}
boolean showRegistrations = app().settings().getBoolean(Keys.web.showFederationRegistrations, false);
FederationRegistrationsPanel registrationsPanel = new FederationRegistrationsPanel(
"federationRegistrationsPanel");
if (showAdmin || showRegistrations) {
registrationsPanel.hideIfEmpty();
} else {
registrationsPanel.setVisible(false);
}
add(proposalsPanel);
add(registrationsPanel);
}