Package com.gitblit.wicket.panels

Examples of com.gitblit.wicket.panels.BranchesPanel


    add(new RepositoryUrlPanel("repositoryUrlPanel", false, user, model));

    add(new LogPanel("commitsPanel", repositoryName, getRepositoryModel().HEAD, r, numberCommits, 0, getRepositoryModel().showRemoteBranches));
    add(new TagsPanel("tagsPanel", repositoryName, r, numberRefs).hideIfEmpty());
    add(new BranchesPanel("branchesPanel", getRepositoryModel(), r, numberRefs, false).hideIfEmpty());

    if (app().settings().getBoolean(Keys.web.summaryShowReadme, false)) {
      // show a readme on the summary page
      MarkupDocument markupDoc = null;
      RevCommit head = JGitUtils.getCommit(r, null);
View Full Code Here


    add(new RepositoryUrlPanel("repositoryUrlPanel", false, user, model));

    add(new LogPanel("commitsPanel", repositoryName, getRepositoryModel().HEAD, r, numberCommits, 0, getRepositoryModel().showRemoteBranches));
    add(new TagsPanel("tagsPanel", repositoryName, r, numberRefs).hideIfEmpty());
    add(new BranchesPanel("branchesPanel", getRepositoryModel(), r, numberRefs, false).hideIfEmpty());

    if (app().settings().getBoolean(Keys.web.summaryShowReadme, false)) {
      // show a readme on the summary page
      MarkupDocument markupDoc = null;
      RevCommit head = JGitUtils.getCommit(r, null);
View Full Code Here

    int reflogCount = app().settings().getInteger(Keys.web.overviewReflogCount, 5);
    ReflogPanel reflog = new ReflogPanel("reflogPanel", getRepositoryModel(), r, reflogCount, 0);
    add(reflog);
    add(new TagsPanel("tagsPanel", repositoryName, r, numberRefs).hideIfEmpty());
    add(new BranchesPanel("branchesPanel", getRepositoryModel(), r, numberRefs, false).hideIfEmpty());

    // Display an activity line graph
    insertActivityGraph(metrics);
  }
View Full Code Here

public class BranchesPage extends RepositoryPage {

  public BranchesPage(PageParameters params) {
    super(params);

    add(new BranchesPanel("branchesPanel", getRepositoryModel(), getRepository(), -1, isShowAdmin() || isOwner()));
  }
View Full Code Here

TOP

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

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.