Replace 'Add' buttons with '+'

This commit is contained in:
Akshay Joshi
2016-07-26 12:54:59 +01:00
committed by Dave Page
parent 19306934a0
commit e803464ee0
7 changed files with 12 additions and 16 deletions

View File

@@ -201,15 +201,14 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
' </div>',
' <div class="col-xs-6" header="token"></div>',
' <div class="col-xs-2">',
' <button class="btn-sm btn-default add" <%=canAdd ? "" : "disabled=\'disabled\'"%> ><%-add_label%></buttton>',
' <button class="btn-sm btn-default add fa fa-plus" <%=canAdd ? "" : "disabled=\'disabled\'"%> ></buttton>',
' </div>',
' </div>',
' </div>',
'</div>',].join("\n")
_.extend(data, {
token_label: '{{ _('Tokens') }}',
add_label: '{{ _('Add') }}'
token_label: '{{ _('Tokens') }}'
});
var self = this,

View File

@@ -402,15 +402,14 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
' </div>',
' <div class="col-xs-4" header="column"></div>',
' <div class="col-xs-4">',
' <button class="btn-sm btn-default add" <%=canAdd ? "" : "disabled=\'disabled\'"%> ><%-add_label%></buttton>',
' <button class="btn-sm btn-default add fa fa-plus" <%=canAdd ? "" : "disabled=\'disabled\'"%> ></buttton>',
' </div>',
' </div>',
' </div>',
'</div>',].join("\n")
_.extend(data, {
column_label: '{{ _('Column') }}',
add_label: '{{ _('Add') }}'
column_label: '{{ _('Column') }}'
});
var self = this,

View File

@@ -301,7 +301,7 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
' </div>',
' <div class="col-md-4" header="local_column"></div>',
' <div class="col-md-4">',
' <button class="btn-sm btn-default add" <%=canAdd ? "" : "disabled=\'disabled\'"%> ><%-add_label%></buttton>',
' <button class="btn-sm btn-default add fa fa-plus" <%=canAdd ? "" : "disabled=\'disabled\'"%> ></buttton>',
' </div>',
' </div>',
' <div class="row">',
@@ -321,7 +321,6 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
_.extend(data, {
column_label: '{{ _('Local column') }}',
add_label: '{{ _('Add') }}',
references_label: '{{ _('References') }}',
referenced_label: '{{ _('Referencing') }}'
});