Explorar o código

根据搜索"No Records found!"以及"No Record found!"进行修改,其覆盖了大部分的"emptyText"

zlSun hai 11 meses
pai
achega
d3bb53a920

+ 1 - 1
atlas/js/utils/TableLayout.js

@@ -25,7 +25,7 @@ define([ "require", "backbone", "hbs!tmpl/common/TableLayout_tmpl", "utils/Messa
         },
         gridOpts: {
             className: "table table-bordered table-hover table-condensed backgrid",
-            emptyText: "No Records found!"
+            emptyText: "没有找到记录!"
         },
         filterOpts: {
             placeholder: "plcHldr.searchByResourcePath",

+ 1 - 1
atlas/js/views/audit/AdminAuditTableLayoutView.js

@@ -59,7 +59,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/AdminAuditTableLayoutView_tmpl",
                     fetchCollection: this.getAdminCollection.bind(this)
                 },
                 gridOpts: {
-                    emptyText: "No Record found!",
+                    emptyText: "没有找到记录!",
                     className: "table table-hover backgrid table-quickMenu colSort"
                 },
                 filterOpts: {},

+ 1 - 1
atlas/js/views/audit/AuditTableLayoutView.js

@@ -28,7 +28,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/AuditTableLayoutView_tmpl", "col
                 includeFooterRecords: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 sortOpts: {
                     sortColumn: "timestamp",

+ 1 - 1
atlas/js/views/audit/ReplicationAuditTableLayoutView.js

@@ -31,7 +31,7 @@ define([ "require", "backbone", "hbs!tmpl/audit/ReplicationAuditTableLayoutView_
                     fetchCollection: this.fetchCollection.bind(this)
                 },
                 gridOpts: {
-                    emptyText: "No Record found!",
+                    emptyText: "没有找到记录!",
                     className: "table table-hover backgrid table-quickMenu colSort"
                 },
                 filterOpts: {},

+ 1 - 1
atlas/js/views/business_metadata/BusinessMetadataAttrTableLayoutView.js

@@ -31,7 +31,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataAttr
                 includeFooterRecords: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/business_metadata/BusinessMetadataTableLayoutView.js

@@ -40,7 +40,7 @@ define([ "require", "backbone", "hbs!tmpl/business_metadata/BusinessMetadataTabl
                 includeColumnManager: !0,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 columnOpts: {
                     opts: {

+ 1 - 1
atlas/js/views/detail_page/PendingTaskTableLayoutView.js

@@ -32,7 +32,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                 includeFooterRecords: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 isApiSorting: !1,
                 atlasPaginationOpts: this.getPaginationOptions(),

+ 1 - 1
atlas/js/views/profile/ProfileTableLayoutView.js

@@ -82,7 +82,7 @@ define([ "require", "backbone", "hbs!tmpl/profile/ProfileTableLayoutView_tmpl",
                     includeFooterRecords: !0,
                     gridOpts: {
                         className: "table table-hover backgrid table-quickMenu",
-                        emptyText: "No records found!"
+                        emptyText: "没有找到记录!"
                     }
                 }))), that.renderGraphs();
             });

+ 1 - 1
atlas/js/views/schema/SchemaLayoutView.js

@@ -39,7 +39,7 @@ define([ "require", "backbone", "hbs!tmpl/schema/SchemaTableLayoutView_tmpl", "c
                 includeAtlasTableSorting: !0,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/search/SearchResultLayoutView.js

@@ -158,7 +158,7 @@ define([ "require", "backbone", "table-dragger", "hbs!tmpl/search/SearchResultLa
                     el: this.ui.colManager
                 },
                 gridOpts: {
-                    emptyText: "No Records found!",
+                    emptyText: "没有找到记录!",
                     className: "table table-hover backgrid table-quickMenu colSort"
                 },
                 sortOpts: {

+ 1 - 1
atlas/js/views/site/DebugMetricsTableLayoutView.js

@@ -32,7 +32,7 @@ define([ "require", "backbone", "hbs!tmpl/site/DebugMetricsTableLayoutView_tmpl"
                 includeColumnManager: !1,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}

+ 1 - 1
atlas/js/views/tag/TagDetailTableLayoutView.js

@@ -50,7 +50,7 @@ define([ "require", "backbone", "hbs!tmpl/tag/TagDetailTableLayoutView_tmpl", "u
                 includeAtlasTableSorting: !0,
                 gridOpts: {
                     className: "table table-hover backgrid table-quickMenu",
-                    emptyText: "No records found!"
+                    emptyText: "没有找到记录!"
                 },
                 filterOpts: {},
                 paginatorOpts: {}