Removed (Beta) keyword from Schema Diff and High Contrast theme.

This commit is contained in:
Akshay Joshi
2020-09-29 18:27:28 +05:30
parent 1c70a43b91
commit a707d818f5
3 changed files with 3 additions and 7 deletions

View File

@@ -188,7 +188,7 @@ Expand the *Miscellaneous* node to specify miscellaneous display preferences.
* Use the *Themes* drop-down listbox to select the theme for pgAdmin. You'll also get a preview just below the * Use the *Themes* drop-down listbox to select the theme for pgAdmin. You'll also get a preview just below the
drop down. Note that, to apply the theme you need to refresh the pgAdmin page. You can also submit your drop down. Note that, to apply the theme you need to refresh the pgAdmin page. You can also submit your
own themes, check `here <https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=blob_plain;f=README>`_ how. own themes, check `here <https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=blob_plain;f=README>`_ how.
Currently we support Standard, Dark and High Contrast (Beta) theme. Currently we support Standard, Dark and High Contrast theme.
The Paths Node The Paths Node
************** **************

View File

@@ -37,7 +37,7 @@ define('pgadmin.schemadiff', [
applies: ['tools'], applies: ['tools'],
callback: 'show_schema_diff_tool', callback: 'show_schema_diff_tool',
priority: 1, priority: 1,
label: gettext('Schema Diff (Beta)'), label: gettext('Schema Diff'),
enable: true, enable: true,
}]; }];
@@ -85,7 +85,7 @@ define('pgadmin.schemadiff', [
}) })
.done(function(res) { .done(function(res) {
self.trans_id = res.data.schemaDiffTransId; self.trans_id = res.data.schemaDiffTransId;
res.data.panel_title = gettext('Schema Diff (Beta)'); //TODO: Set the panel title res.data.panel_title = gettext('Schema Diff'); //TODO: Set the panel title
// TODO: Following function is used to test the fetching of the // TODO: Following function is used to test the fetching of the
// databases this should be moved to server selection event later. // databases this should be moved to server selection event later.
self.launch_schema_diff(res.data); self.launch_schema_diff(res.data);

View File

@@ -170,10 +170,6 @@ fs.readdirSync(all_themes_dir).map(function(curr_dir) {
let disp_name = curr_dir; let disp_name = curr_dir;
if(curr_dir == 'high_contrast') {
disp_name = curr_dir + ' (Beta)';
}
pgadminThemes[curr_dir] = { pgadminThemes[curr_dir] = {
/* For now lets keep it as beta release */ /* For now lets keep it as beta release */
disp_name: disp_name, disp_name: disp_name,