mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-08 20:18:28 -05:00
Added capability to deploy PostgreSQL servers on Amazon RDS. Fixes #7177
This commit is contained in:
committed by
Akshay Joshi
parent
b89e306df0
commit
e61a1045f5
@@ -326,9 +326,18 @@ define('pgadmin.browser', [
|
||||
},
|
||||
menu_categories: {
|
||||
/* name, label (pair) */
|
||||
'register': {
|
||||
label: gettext('Register'),
|
||||
priority: 1,
|
||||
/* separator above this menu */
|
||||
above: false,
|
||||
below: true,
|
||||
/* icon: 'fa fa-magic', */
|
||||
single: true,
|
||||
},
|
||||
'create': {
|
||||
label: gettext('Create'),
|
||||
priority: 1,
|
||||
priority: 2,
|
||||
/* separator above this menu */
|
||||
above: false,
|
||||
below: true,
|
||||
|
||||
@@ -46,7 +46,7 @@ define([
|
||||
pgAdmin.Browser.add_menus([{
|
||||
name: 'refresh', node: this.type, module: this,
|
||||
applies: ['object', 'context'], callback: 'refresh',
|
||||
priority: 1, label: gettext('Refresh'),
|
||||
priority: 2, label: gettext('Refresh'),
|
||||
icon: 'fa fa-sync-alt',
|
||||
}]);
|
||||
|
||||
|
||||
@@ -118,8 +118,8 @@ define('pgadmin.browser.node', [
|
||||
module: self,
|
||||
applies: ['object', 'context'],
|
||||
callback: 'refresh',
|
||||
priority: 1,
|
||||
label: gettext('Refresh'),
|
||||
priority: 2,
|
||||
label: gettext('Refresh...'),
|
||||
icon: 'fa fa-sync-alt',
|
||||
}]);
|
||||
|
||||
@@ -792,6 +792,9 @@ define('pgadmin.browser.node', [
|
||||
}
|
||||
|
||||
l = gettext('Create - %s', this.label);
|
||||
if (this.type == 'server') {
|
||||
l = gettext('Register - %s', this.label);
|
||||
}
|
||||
p = addPanel();
|
||||
|
||||
setTimeout(function() {
|
||||
|
||||
Reference in New Issue
Block a user