Skip to content

Commit

Permalink
recent uploads: updated label colors and styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatimah authored and slint committed Feb 16, 2024
1 parent a5bfa4e commit bb80cf1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
6 changes: 3 additions & 3 deletions templates/semantic-ui/zenodo_rdm/macros/record_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

{# Top labels #}
<div class="extra labels-actions">
<div class="ui small horizontal primary label">
{{ record.ui.publication_date_l10n_long }} ({{ record.ui.version }})
<div class="ui small horizontal theme-primary label">
<p>{{ record.ui.publication_date_l10n_long }} ({{ record.ui.version }})</p>
</div>
<div class="ui small horizontal neutral label">
{{ record.ui.resource_type.title_l10n }}
Expand All @@ -49,7 +49,7 @@
</div>

{# Title #}
<div class="header">
<div class="header theme-primary-text">
<a href="/records/{{ record.id }}">{{ record.metadata.title }}</a>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,20 @@ <h1 class="ui text-muted small header">Builtin compliance with EU open science
</div>

{% if records %}
<div class="ui container">
<h2>{{ _("Recent uploads") }}</h2>
<div class="ui divider"></div>
<div class="ui stackable theme-font grid container ">
<div class="column rel-mb-4">
<div class="row item">
<h1 class="ui large header">{{ title }}</h1>
</div>
<div class="ui divider"></div>

<div class="ui fluid stackable three column grid">
{% for record in records %}
<ul class="ui column items m-0">
{{ record_item(record=record) }}
</ul>
{% endfor %}
<div class="ui fluid stackable three column grid">
{% for record in records %}
<ul class="ui column items m-0">
{{ record_item(record=record) }}
</ul>
{% endfor %}
</div>
</div>
</div>
{% endif %}
Expand Down

0 comments on commit bb80cf1

Please sign in to comment.