Skip to content
Snippets Groups Projects
Commit 864834af authored by Benjamin Becker's avatar Benjamin Becker
Browse files

removes label "NEU" for historical datasets, improves accessibility for historical datasets

parent 4186a672
No related branches found
No related tags found
No related merge requests found
......@@ -739,7 +739,11 @@ label.rangesearch.disabled {
border-bottom: none;
}
.opaque {
.historical {
opacity: 0.8;
}
.historical img {
opacity: 0.6;
}
......
......@@ -34,7 +34,7 @@ Example:
{% set successor_url = collection['successor']['url'] if collection else None %}
{% block package_item %}
<li class="odsh-dataset-item {% if successor_url %}opaque{% endif %}">
<li class="odsh-dataset-item {% if successor_url %}historical{% endif %}">
<div class="preview-image-container">
{% if thumbnail %}
<a href={{ h.url_for(controller='package', action='read', id=package.name) }}>
......@@ -73,7 +73,7 @@ Example:
{% if successor_url %}
<span class='label historical-dataset-label'>{{ _('historical') }}</span>
{% endif %}
{% if package.is_new %}
{% if package.is_new and not successor_url %}
<span class='label new-dataset-label'>{{ _('NEW') }}</span>
{% endif %}
{% if package.private %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment