diff --git a/application/default/views/scripts/haihe/document.phtml b/application/default/views/scripts/haihe/document.phtml index bc9de0f4..643f3411 100644 --- a/application/default/views/scripts/haihe/document.phtml +++ b/application/default/views/scripts/haihe/document.phtml @@ -19,12 +19,14 @@ $this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集');
    refs as $md) : ?>
  1. 下载'; - } + echo ' [查看'; + if (!empty($md['link'])) : + echo ' 下载'; + else : + if (!empty($md['attid'])) echo ' 下载'; + endif; ?> - [相关数据] + 相关数据]
diff --git a/application/default/views/scripts/haihe/view.phtml b/application/default/views/scripts/haihe/view.phtml index 8ae014c5..303632ab 100755 --- a/application/default/views/scripts/haihe/view.phtml +++ b/application/default/views/scripts/haihe/view.phtml @@ -12,6 +12,7 @@ if(!empty($this->dataService)) { $this->theme->AppendModel($this,"dataservice"); } + $this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集'); ?>