Package com.gitblit.wicket.panels

Examples of com.gitblit.wicket.panels.RepositoriesPanel


        .setEscapeModelStrings(false).setVisible(message.length() > 0);
    add(repositoriesMessage);

    List<RepositoryModel> repositories = getRepositories(params);

    RepositoriesPanel repositoriesPanel = new RepositoriesPanel("repositoriesPanel", showAdmin,
        true, repositories, true, getAccessRestrictions());
    // push the panel down if we are hiding the admin controls and the
    // welcome message
    if (!showAdmin && !repositoriesMessage.isVisible()) {
      WicketUtils.setCssStyle(repositoriesPanel, "padding-top:5px;");
View Full Code Here


          itr.remove();
        }
      }
    }

    RepositoriesPanel repositoriesPanel = new RepositoriesPanel("repositoriesPanel", showAdmin,
        true, repositories, true, getAccessRestrictions());
    // push the panel down if we are hiding the admin controls and the
    // welcome message
    if (!showAdmin && !repositoriesMessage.isVisible()) {
      WicketUtils.setCssStyle(repositoriesPanel, "padding-top:5px;");
View Full Code Here

    form.add(cancel);
    add(form);

    List<RepositoryModel> repositories = new ArrayList<RepositoryModel>(
        proposal.repositories.values());
    RepositoriesPanel repositoriesPanel = new RepositoriesPanel("repositoriesPanel", false,
        false, repositories, false, getAccessRestrictions());
    add(repositoriesPanel);
  }
View Full Code Here

    add(new Label("definition", StringUtils.breakLinesForHtml(StringUtils.escapeForHtml(sb
        .toString().trim(), true))).setEscapeModelStrings(false));

    List<RepositoryModel> repositories = new ArrayList<RepositoryModel>(
        proposal.repositories.values());
    RepositoriesPanel repositoriesPanel = new RepositoriesPanel("repositoriesPanel", false,
        false, repositories, false, getAccessRestrictions());
    add(repositoriesPanel);
  }
View Full Code Here

TOP

Related Classes of com.gitblit.wicket.panels.RepositoriesPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.