Package com.gitblit.wicket.panels

Examples of com.gitblit.wicket.panels.UserTitlePanel


      // construct a temporary user model
      user = new UserModel(userName);
    }


    add(new UserTitlePanel("userTitlePanel", user, user.username));

    UserModel sessionUser = GitBlitWebSession.get().getUser();
    boolean isMyProfile = sessionUser != null && sessionUser.equals(user);

    if (isMyProfile) {
View Full Code Here


    final String searchParam = (params == null) ? "" : params.getString("s", null);
    final String sortBy = (params == null) ? "" : Lucene.fromString(params.getString("sort", Lucene.created.name())).name();
    final boolean desc = (params == null) ? true : !"asc".equals(params.getString("direction", "desc"));

    // add the user title panel
    add(new UserTitlePanel("userTitlePanel", currentUser, getString("gb.myTickets")));

    // add search form
    add(new TicketSearchForm("ticketSearchForm", null, searchParam, getClass(), params));

    // standard queries
View Full Code Here

TOP

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

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.