Explorar el Código

Made all messages for no results be consistent for all default views

spficklin hace 12 años
padre
commit
e1fba05c06

+ 1 - 1
tripal_analysis/tripal_analysis.views.inc

@@ -407,7 +407,7 @@ function tripal_analysis_views_default_views() {
   $handler->override_option('header', 'Click "Show" to see a list of all analysis matching the entered criteria. If you leave a any of the criteria blank then the analysis will be not be filtered based on that field. Furthermore, if you leave all criteria blank then all analysis will be listed.');
   $handler->override_option('header_format', '2');
   $handler->override_option('header_empty', 1);
-  $handler->override_option('empty', 'No analysis match the supplied criteria.');
+  $handler->override_option('empty', 'No analyses match the supplied criteria.');
   $handler->override_option('empty_format', '1');
   $handler->override_option('items_per_page', 50);
   $handler->override_option('use_pager', '1');

+ 1 - 1
tripal_feature/tripal_feature.views.inc

@@ -523,7 +523,7 @@ function tripal_feature_views_default_views() {
   $handler->override_option('header', 'Click "Show" to see a list of all features matching the entered criteria. If you leave a any of the criteria blank then the features will be not be filtered based on that field. Furthermore, if you leave all criteria blank then all features will be listed.');
   $handler->override_option('header_format', '2');
   $handler->override_option('header_empty', 0);
-  $handler->override_option('empty', 'There are currently no features sync\'d with drupal.');
+  $handler->override_option('empty', 'No features matched the supplied criteria.');
   $handler->override_option('empty_format', '2');
   $handler->override_option('items_per_page', 50);
   $handler->override_option('use_pager', '1');

+ 1 - 1
tripal_library/tripal_library.views.inc

@@ -363,7 +363,7 @@ function tripal_library_views_default_views() {
   $handler->override_option('header', 'Click "Show" to see a list of all libraries matching the entered criteria. If you leave a any of the criteria blank then the libraries will be not be filtered based on that field. Furthermore, if you leave all criteria blank then all libraries will be listed.');
   $handler->override_option('header_format', '2');
   $handler->override_option('header_empty', 0);
-  $handler->override_option('empty', 'There are no libraries matching the current criteria. If you think there should be, check that all chado libraries are sync\'d with your website.');
+  $handler->override_option('empty', 'No libraries match the supplied criteria.');
   $handler->override_option('empty_format', '1');
   $handler->override_option('items_per_page', 50);
   $handler->override_option('use_pager', '1');

+ 1 - 1
tripal_organism/tripal_organism.views.inc

@@ -290,7 +290,7 @@ function tripal_organism_views_default_views() {
     'type' => 'none',
   ));
   $handler->override_option('title', 'Organisms');
-  $handler->override_option('empty', 'No organism currently in your chado database.');
+  $handler->override_option('empty', 'No organisms matched the supplied criteria.');
   $handler->override_option('empty_format', '1');
   $handler->override_option('items_per_page', 0);
   $handler->override_option('style_plugin', 'table');

+ 1 - 1
tripal_phenotype/tripal_phenotype.views.inc

@@ -517,7 +517,7 @@ function tripal_phenotype_views_default_views() {
   $handler->override_option('header', 'Click "Show" to see a list of all phenotypes matching the entered criteria. If you leave a any of the criteria blank then the phenotypes will be not be filtered based on that field. Furthermore, if you leave all criteria blank then all phenotypes will be listed.');
   $handler->override_option('header_format', '2');
   $handler->override_option('header_empty', 0);
-  $handler->override_option('empty', 'No phenotypes match the current criteria.');
+  $handler->override_option('empty', 'No phenotypes match the supplied criteria.');
   $handler->override_option('empty_format', '2');
   $handler->override_option('items_per_page', 50);
   $handler->override_option('use_pager', '1');

+ 1 - 1
tripal_project/tripal_project.views.inc

@@ -221,7 +221,7 @@ function tripal_project_views_default_views() {
     'type' => 'none',
   ));
   $handler->override_option('title', 'Projects');
-  $handler->override_option('empty', 'There are currently no projects available.');
+  $handler->override_option('empty', 'No projects match the supplied criteria.');
   $handler->override_option('empty_format', '2');
   $handler->override_option('items_per_page', 50);
   $handler->override_option('use_pager', '1');

+ 1 - 1
tripal_stock/tripal_stock.views.inc

@@ -518,7 +518,7 @@ function tripal_stock_views_default_views() {
   $handler->override_option('header', 'Click "Show" to see a list of all stocks matching the entered criteria. If you leave a any of the criteria blank then the stocks will be not be filtered based on that field. Furthermore, if you leave all criteria blank then all stocks will be listed.');
   $handler->override_option('header_format', '2');
   $handler->override_option('header_empty', 0);
-  $handler->override_option('empty', 'There are no stocks that match this criteria. If you think there should be, ensure that all stocks in chado are sync\'d with your website.');
+  $handler->override_option('empty', 'No stocks match the supplied criteria.');
   $handler->override_option('empty_format', '1');
   $handler->override_option('items_per_page', 50);
   $handler->override_option('use_pager', '1');