Skip to content

Commit

Permalink
landing page files: a11y and styling update for access-status cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jennur authored and zzacharo committed Oct 6, 2023
1 parent 85987dd commit 6ff20b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/semantic-ui/zenodo_rdm/records/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ <h3 class="active title panel-heading {{ record.ui.access_status.id }} m-0">
</div>
</h3>
<div role="region" id="collapsablePreview" aria-labelledby="files-preview-accordion-trigger" class="active content pt-0">
<div class="ui {{ record.ui.access_status.message_class }} message file-box-message">
<i class="ui {{ record.ui.access_status.icon }} icon" aria-hidden="true"></i><b>{{ record.ui.access_status.title_l10n }}</b>
<div class="ui {{ record.ui.access_status.message_class }} message file-box-message rel-pl-1 rel-pr-1">
<i class="ui {{ record.ui.access_status.icon }} icon" aria-hidden="true"></i>
<h4 class="inline">{{ record.ui.access_status.title_l10n }}</h4>
<p>{{ record.ui.access_status.description_l10n }}</p>

{% if record.access.embargo.reason %}
Expand Down

0 comments on commit 6ff20b0

Please sign in to comment.