add breadcrump and reference link
This commit is contained in:
parent
51f3adfa79
commit
7871ebfb6a
|
@ -19,12 +19,14 @@ $this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集');
|
||||||
<ol start="<?php echo $this->offset; ?>">
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
<?php foreach($this->refs as $md) : ?>
|
<?php foreach($this->refs as $md) : ?>
|
||||||
<li><?php echo $md['reference'];
|
<li><?php echo $md['reference'];
|
||||||
if ($md['link'])
|
echo ' <a href="/knowledge/paper/id/'.$item['id'].'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
{
|
if (!empty($md['link'])) :
|
||||||
echo ' <a href="'.$md['link'].'">下载</a>';
|
echo ' <a href="'.$md['link'].'">下载</a>';
|
||||||
}
|
else :
|
||||||
|
if (!empty($md['attid'])) echo ' <a href="/service/attach/id/'.$md['attid'].'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
endif;
|
||||||
?>
|
?>
|
||||||
[<a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)">相关数据</a>]
|
[<a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)"><i class="icon-external-link text-success"></i>相关数据</a>]
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
if(!empty($this->dataService)) {
|
if(!empty($this->dataService)) {
|
||||||
$this->theme->AppendModel($this,"dataservice");
|
$this->theme->AppendModel($this,"dataservice");
|
||||||
}
|
}
|
||||||
|
$this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集');
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
h3.gs_rt{font-size:110%;}
|
h3.gs_rt{font-size:110%;}
|
||||||
|
|
Loading…
Reference in New Issue