Commit d5c678db authored by Merret Buurman's avatar Merret Buurman
Browse files

Warnings signs: Removed extra column for warning icons (file+dataset).

parent f0e5a64c
......@@ -52,27 +52,26 @@
<h2>General information</h2>
<table>
<!-- Newer version exists: Table with 3 columns: -->
<!-- Newer version exists: Table with 2 columns: -->
{% if newerversion %}
{% if drs %}
<tr>
<td class="leftcol" colspan="2">DRS name</td>
<td class="leftcol">DRS name</td>
<td>{{drs}}</td>
</tr>
{% endif %}
{% if version %}
<tr>
<td class="leftcol" colspan="2">Version number</td>
<td class="leftcol">Version number</td>
<td>{{version}}</td>
</tr>
{% endif %}
<tr>
<td class="leftcol_slim">Persistent identifier</td>
<td class="middlecol warning_icon_replaced"><img height="35px" src="/static/warning_cmip6_green_transparent.png"></td>
<td><a href="http://hdl.handle.net/{{handle}}">hdl:{{handle}}</a><br/><br/><span class="note"><img height="14px" src="/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This dataset was replaced by a newer version.</strong> Please refer to the dataset's errata description to get more information. You can find information on the errata on the dataset's landing page or at the ESGF Errata Service.</span> </td>
<td class="leftcol">Persistent identifier</td>
<td><a href="http://hdl.handle.net/{{handle}}">hdl:{{handle}}</a><br/><br/><span class="note"><img height="20px" src="/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This dataset was replaced by a newer version.</strong> Please refer to the dataset's errata description to get more information. You can find information on the errata on the dataset's landing page or at the ESGF Errata Service.</span> </td>
</tr>
<tr>
<td class="leftcol" colspan="2">Newer version</td>
<td class="leftcol">Newer version</td>
<td><a href="http://hdl.handle.net/{{handle}}">hdl:{{newerversion}}</a></td>
</tr>
{% else %}
......
......@@ -119,13 +119,7 @@
<table>
{% for item in list_of_aggregation_records %}
<tr>
{% if item.replaced %}
<td class="leftcol_slim">{{item.level}}</td>
<td class="middlecol warning_icon_replaced"><img height="35px" src="/static/warning_cmip6_green_transparent.png"></td>
{% else %}
<td class="leftcol">{{item.level}}</td>
{% endif %}
<td class="leftcol">{{item.level}}</td>
<td>
{{ item.title }}
{% if item.version %}
......@@ -134,7 +128,7 @@
<br/><a href="http://hdl.handle.net/{{ item.handle }}/">hdl:{{ item.handle }}</a>
{% if item.replaced %}
<!--/td><td class="replaced"><span class="attention">Attention, this {{item.level}} was replaced by a newer version!*</span-->
<br/><br/><span class="note"><img height="14px" src="/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This {{item.level}} was replaced by a newer version.</strong> If a dataset containing this file was replaced by a newer version, it is possible that there was an issue with this file, but not necessarily. It is also possible that the dataset was replaced due to problems in other files or due to lacking files. Please refer to the dataset's errata description to get more information. You can find information on the errata on the dataset's landing page or at the ESGF Errata Service.</span>
<br/><br/><span class="note"><img height="20px" src="/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This {{item.level}} was replaced by a newer version.</strong> If a dataset containing this file was replaced by a newer version, it is possible that there was an issue with this file, but not necessarily. It is also possible that the dataset was replaced due to problems in other files or due to lacking files. Please refer to the dataset's errata description to get more information. You can find information on the errata on the dataset's landing page or at the ESGF Errata Service.</span>
{% endif %}
</td>
</tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment