mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-20 11:48:31 -06:00
Change button label to initcap.
This commit is contained in:
parent
3d7b40e111
commit
f783aeac63
@ -208,8 +208,8 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
|
||||
'</div>',].join("\n")
|
||||
|
||||
_.extend(data, {
|
||||
token_label: '{{ _('Tokens')}}',
|
||||
add_label: '{{ _('ADD')}}'
|
||||
token_label: '{{ _('Tokens') }}',
|
||||
add_label: '{{ _('Add') }}'
|
||||
});
|
||||
|
||||
var self = this,
|
||||
|
@ -409,8 +409,8 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
|
||||
'</div>',].join("\n")
|
||||
|
||||
_.extend(data, {
|
||||
column_label: '{{ _('Column')}}',
|
||||
add_label: '{{ _('ADD')}}'
|
||||
column_label: '{{ _('Column') }}',
|
||||
add_label: '{{ _('Add') }}'
|
||||
});
|
||||
|
||||
var self = this,
|
||||
|
@ -320,10 +320,10 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
|
||||
'</div>',].join("\n")
|
||||
|
||||
_.extend(data, {
|
||||
column_label: '{{ _('Local column')}}',
|
||||
add_label: '{{ _('ADD')}}',
|
||||
references_label: '{{ _('References')}}',
|
||||
referenced_label: '{{ _('Referencing')}}'
|
||||
column_label: '{{ _('Local column') }}',
|
||||
add_label: '{{ _('Add') }}',
|
||||
references_label: '{{ _('References') }}',
|
||||
referenced_label: '{{ _('Referencing') }}'
|
||||
});
|
||||
|
||||
var self = this,
|
||||
|
@ -948,7 +948,7 @@
|
||||
canDelete: evalF.apply(this.field, [data.canDelete, data, this.model]),
|
||||
canEdit: evalF.apply(this.field, [data.canEdit, data, this.model])
|
||||
});
|
||||
_.extend(data, {add_label: "ADD"});
|
||||
_.extend(data, {add_label: "Add"});
|
||||
|
||||
// This control is not visible, we should remove it.
|
||||
if (!data.visible) {
|
||||
@ -1203,7 +1203,7 @@
|
||||
showGridControl: function(data) {
|
||||
var gridHeader = ["<div class='subnode-header'>",
|
||||
" <label class='control-label pg-el-sm-10'>" + data.label + "</label>" ,
|
||||
" <button class='btn-sm btn-default add'>ADD</buttton>",
|
||||
" <button class='btn-sm btn-default add'>Add</buttton>",
|
||||
"</div>"].join("\n");
|
||||
gridBody = $("<div class='pgadmin-control-group backgrid form-group pg-el-xs-12 object subnode'></div>").append(gridHeader);
|
||||
|
||||
|
@ -593,7 +593,7 @@
|
||||
render: function () {
|
||||
this.$el.empty();
|
||||
//this.$el.html("<i class='fa fa-plus-circle'></i>");
|
||||
this.$el.html("<label><a><span style='font-weight:normal;'>Array Values</a></span></label> <button class='btn-sm btn-default add'>ADD</button>");
|
||||
this.$el.html("<label><a><span style='font-weight:normal;'>Array Values</a></span></label> <button class='btn-sm btn-default add'>Add</button>");
|
||||
this.delegateEvents();
|
||||
return this;
|
||||
}
|
||||
|
@ -538,8 +538,8 @@ define([
|
||||
headerTpl = _.template(header),
|
||||
data = {
|
||||
canAdd: true,
|
||||
add_title: '{{ _("Add new user")}}',
|
||||
add_label:'{{ _('ADD')}}'
|
||||
add_title: '{{ _("Add new user") }}',
|
||||
add_label:'{{ _('Add') }}'
|
||||
},
|
||||
$gridBody = $("<div></div>", {
|
||||
class: "user_container"
|
||||
|
Loading…
Reference in New Issue
Block a user