Browse Source

Added documentation to some functions and updates the integration list to show materialized views beofre chado tables (with default chado table integration this list is really long and made finding materialized views difficult)

Lacey Sanderson 13 years ago
parent
commit
77776e0f4c
1 changed files with 4 additions and 3 deletions
  1. 4 3
      base/tripal_views/tripal_views_integration.inc

+ 4 - 3
base/tripal_views/tripal_views_integration.inc

@@ -66,6 +66,9 @@ function tripal_views_description_page() {
 function tripal_views_integration_setup_list(){
    $output = '';
 
+   $output .= '<h3>'.l('Add a new entry',"admin/tripal/views/integration/new") . " | " .
+                         l("Create Materialized View",'admin/build/views/add').'</h3>';
+                         
    $output .= '<p>The following tables list the views integration setups available. If '
     .'there is more then one setup for a given table, then the setup with the lightest ' 
     .'priority will be used. For example, if you have created a custom setup for the '
@@ -73,9 +76,7 @@ function tripal_views_integration_setup_list(){
     .'used instead of the default feature integration because -5 is lighter then 10.'
     .'Priorities use the Drupal -10 to +10 scale where a record with -10 has a '
     .'greater priority then one with 0 and both have a greater priority then one with +10.</p>';
-       
-   $output .= '<p>'.l('Add a new entry',"admin/tripal/views/integration/new") . " | " .
-                         l("Create View",'admin/build/views/add').'</p>';
+      
    
    // Start with materialized views           
    $output .= '<br /><h3>Materialized Views</h3>';