Skip to content

MENDELU/Show Open Access status badge#1243

Merged
milanmajchrak merged 2 commits intocustomer/mendelufrom
mendelu/show-open-access-status-badge
Mar 16, 2026
Merged

MENDELU/Show Open Access status badge#1243
milanmajchrak merged 2 commits intocustomer/mendelufrom
mendelu/show-open-access-status-badge

Conversation

@jr-rk
Copy link

@jr-rk jr-rk commented Mar 10, 2026

Problem description

"Pridat label, ak je zaznam open access. Zisti sa to cez API: https://repozitar.mendelu.cz/server/api/core/items/9b0a485f-2c29-4212-a4b2-e3e48e460c33/accessStatus - 2h Malo by existovat aj standardne Vanilla riesenie, treba to zistit"

Copilot review

  • Requested review from Copilot

@jr-rk jr-rk requested a review from Copilot March 10, 2026 14:45
@jr-rk jr-rk self-assigned this Mar 10, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables displaying the “access status” badge/label (e.g., Open Access status) by turning on the related item configuration flags in the default config/config.yml.

Changes:

  • Add item.showAccessStatuses: true to enable access status badges for items.
  • Add item.bitstream.showAccessStatuses: true to enable access status labels for bitstreams.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@milanmajchrak milanmajchrak merged commit a7b3aab into customer/mendelu Mar 16, 2026
10 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MENDELU/Enable Open Access status badge on item list elements (recent submissions, search results)

3 participants