Search in sources :

Example 1 with SshKeysPanel

use of com.gitblit.wicket.panels.SshKeysPanel in project gitblit by gitblit.

the class UserPage method addSshKeys.

private void addSshKeys(final UserModel user) {
    Fragment keysTab = new Fragment("sshKeysTab", "sshKeysTabFragment", this);
    keysTab.add(new SshKeysPanel("sshKeysPanel", user));
    // add the SSH keys tab
    add(new Fragment("sshKeysLink", "sshKeysLinkFragment", this).setRenderBodyOnly(true));
    add(keysTab.setRenderBodyOnly(true));
}
Also used : SshKeysPanel(com.gitblit.wicket.panels.SshKeysPanel) Fragment(org.apache.wicket.markup.html.panel.Fragment)

Aggregations

SshKeysPanel (com.gitblit.wicket.panels.SshKeysPanel)1 Fragment (org.apache.wicket.markup.html.panel.Fragment)1