Package com.gitblit.wicket.panels

Examples of com.gitblit.wicket.panels.ReflogPanel


    int pageNumber = WicketUtils.getPage(params);
    int prevPage = Math.max(0, pageNumber - 1);
    int nextPage = pageNumber + 1;

    ReflogPanel reflogPanel = new ReflogPanel("reflogPanel", getRepositoryModel(), getRepository(), -1,
        pageNumber - 1);
    boolean hasMore = reflogPanel.hasMore();
    add(reflogPanel);

    add(new BookmarkablePageLink<Void>("firstPage", ReflogPage.class,
        WicketUtils.newObjectParameter(repositoryName, objectId))
        .setEnabled(pageNumber > 1));
View Full Code Here


        WicketUtils.newRepositoryParameter(repositoryName)));

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

    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
View Full Code Here

TOP

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

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.