Add settings screen for editing GPG public keys
The UI is almost identical to the UI for editing SSH keys (although implemented with UiBinder). Change-Id: Ic6cf4dc9d7f71b00efea00a86498660d113ebb2b
This commit is contained in:
@@ -29,6 +29,7 @@ import static com.google.gerrit.common.PageLinks.SETTINGS;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_AGREEMENTS;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_CONTACT;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_EXTENSION;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_GPGKEYS;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_HTTP_PASSWORD;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_MYGROUPS;
|
||||
import static com.google.gerrit.common.PageLinks.SETTINGS_NEW_AGREEMENT;
|
||||
@@ -40,6 +41,7 @@ import static com.google.gerrit.common.PageLinks.toChangeQuery;
|
||||
|
||||
import com.google.gerrit.client.account.MyAgreementsScreen;
|
||||
import com.google.gerrit.client.account.MyContactInformationScreen;
|
||||
import com.google.gerrit.client.account.MyGpgKeysScreen;
|
||||
import com.google.gerrit.client.account.MyGroupsScreen;
|
||||
import com.google.gerrit.client.account.MyIdentitiesScreen;
|
||||
import com.google.gerrit.client.account.MyPasswordScreen;
|
||||
@@ -536,6 +538,10 @@ public class Dispatcher {
|
||||
return new MySshKeysScreen();
|
||||
}
|
||||
|
||||
if (matchExact(SETTINGS_GPGKEYS, token)) {
|
||||
return new MyGpgKeysScreen();
|
||||
}
|
||||
|
||||
if (matchExact(SETTINGS_WEBIDENT, token)) {
|
||||
return new MyIdentitiesScreen();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user