{# Copyright (C) 2026 Front Matter. invenio-pidbox is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. The share of works with an open license, a Creative Commons license or CC0, beside the metrics cards. Two rows: on top, like a card and in line with the first row of cards, the open access logo, the title and the share in the open access orange; below, the share as a ring, one arc on a neutral track. The counts are in its tooltip. Counted in the browser like the cards, with the license query, metadata.rights.id:cc*, added to the query of the works the page is about. It links to those works, and stays hidden while there are none. It brings its own styles rather than borrowing the cards': on the person and organization pages it stands outside the cards' container. Included with four variables: donut_id the id of the element, unique on the page donut_api the records API to count with, e.g. /api/records donut_query the query of the page's works, "" for all of them donut_search the search page it links to, e.g. /search #}