public AbstractHtmlNotificationPanel(String id, IModel<T> model) {
    super(id, model);

    WebMarkupContainer root = new TransparentWebMarkupContainer("root");
    root.add(new StyleAttributeAppender(STYLE_ROOT));
    add(root);

    WebMarkupContainer mainContainer = new TransparentWebMarkupContainer("mainContainer");
    mainContainer.add(new StyleAttributeAppender(STYLE_MAIN_CONTAINER));
    root.add(mainContainer);

    mainContainer.add(new CustomWebMarkupContainer("mainTitle", STYLE_MAIN_TITLE));

    WebMarkupContainer footer = new CustomWebMarkupContainer("footer", STYLE_FOOTER);
    mainContainer.add(footer);

    ExternalLink aboutLink =
        new ExternalLink("aboutLink", notificationUrlBuilderService.getAboutUrl());
    aboutLink.add(new StyleAttributeAppender(STYLE_LINK_FOOTER));
    footer.add(aboutLink);
  }
 protected String getHomeUrl() {
   return notificationUrlBuilderService.getHomeUrl();
 }