修改首页特色数据集对应位置;修改特色数据集登录提示。
This commit is contained in:
parent
c73a945813
commit
c0b3dbba64
|
@ -21,7 +21,7 @@ foreach ($this->rows as $row) {
|
||||||
|
|
||||||
<div class="link">
|
<div class="link">
|
||||||
<?php if ($row->uuid) : ?>
|
<?php if ($row->uuid) : ?>
|
||||||
<a href="/data/download/uuid/<?php echo $row->uuid; ?>">直接下载(需登录)</a>
|
<a href="/data/download/uuid/<?php echo $row->uuid; ?>">直接下载</a>(需登录)
|
||||||
| <a href="/data/<?php echo $row->uuid; ?>">详细元数据信息</a>
|
| <a href="/data/<?php echo $row->uuid; ?>">详细元数据信息</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php if ($auth->hasIdentity()) : ?>
|
<?php if ($auth->hasIdentity()) : ?>
|
||||||
|
|
|
@ -62,11 +62,8 @@
|
||||||
<div id="descript"><span id="intro">简介:</span><?= $this->datasetcd['descript']; ?></div>
|
<div id="descript"><span id="intro">简介:</span><?= $this->datasetcd['descript']; ?></div>
|
||||||
|
|
||||||
<div id="link">
|
<div id="link">
|
||||||
<?php if ($auth->hasIdentity()) : ?>
|
<a href="/data/download/uuid/<?php echo $this->datasetcd['uuid']; ?>">直接下载</a>
|
||||||
<a href="<?= $this->datasetcd['url'];?>">下载ISO文件</a>
|
| <a href="/data/<?php echo $this->datasetcd['uuid']; ?>">详细元数据</a>
|
||||||
<?php else: ?>
|
|
||||||
<a href="/account/login">请先登录后再下载ISO文件</a>
|
|
||||||
<?php endif; ?>
|
|
||||||
| <a href='<?= $this->datasetcd['document']; ?>' >此数据集的数据文档</a> | <a href="/data/datasetcd">更多特色数据集>></a>
|
| <a href='<?= $this->datasetcd['document']; ?>' >此数据集的数据文档</a> | <a href="/data/datasetcd">更多特色数据集>></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue