Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
mah0001 committed Sep 22, 2020
1 parent 3c64909 commit 009bcfb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions application/controllers/Study.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,24 @@ private function render_page($sid, $content, $active_tab='description')

case 'image':
case 'document':
$display_layout='survey_info/layout_scripts';
$page_tabs=array(
'description'=>array(
'label'=>t($dataset_type.'_description'),
'url'=>site_url("catalog/$sid/study-description"),
'show_tab'=>1
),
'timeseries_db'=>array(
'label'=>t('timeseries_db'),
'url'=>site_url("catalog/$sid/timeseries-db"),
'show_tab'=>0
),
//hide related materials
'related_materials'=>array(
'show_tab'=> 0
)
);
break;
case 'timeseries':
$display_layout='survey_info/layout_scripts';
$page_tabs=array(
Expand Down

0 comments on commit 009bcfb

Please sign in to comment.