|
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 | # |
3 | | -# Copyright (C) 2019-2025 CERN. |
| 3 | +# Copyright (C) 2019-2026 CERN. |
4 | 4 | # Copyright (C) 2019-2020 Northwestern University. |
5 | 5 | # Copyright (C) 2021-2025 Graz University of Technology. |
6 | 6 | # Copyright (C) 2022-2025 KTH Royal Institute of Technology. |
|
80 | 80 | InvalidAccessRestrictions, |
81 | 81 | InvalidCommunityVisibility, |
82 | 82 | ) |
83 | | -from invenio_rdm_records.services.github.release import RDMGithubRelease |
84 | 83 | from invenio_rdm_records.services.permissions import RDMRequestsPermissionPolicy |
85 | 84 | from invenio_rdm_records.services.stats import permissions_policy_lookup_factory |
86 | 85 | from invenio_rdm_records.services.tasks import StatsRDMReindexTask |
@@ -1480,13 +1479,6 @@ def github_link_render(record): |
1480 | 1479 | } |
1481 | 1480 |
|
1482 | 1481 |
|
1483 | | -# Invenio-Github |
1484 | | -# ================= |
1485 | | -# |
1486 | | -GITHUB_RELEASE_CLASS = RDMGithubRelease |
1487 | | -"""Default RDM release class.""" |
1488 | | - |
1489 | | - |
1490 | 1482 | # Flask-Menu |
1491 | 1483 | # ========== |
1492 | 1484 | # |
@@ -1564,3 +1556,11 @@ def github_link_render(record): |
1564 | 1556 | "is_open": {"facet": facets.is_open, "ui": {"field": "is_open"}}, |
1565 | 1557 | } |
1566 | 1558 | """Available facets defined for this module.""" |
| 1559 | + |
| 1560 | +# Invenio-VCS |
| 1561 | +# =========== |
| 1562 | +VCS_TEMPLATE_INDEX = "invenio_vcs/rdm-index.html" |
| 1563 | +VCS_TEMPLATE_INDEX_ITEM = "invenio_vcs/rdm-index-item.html" |
| 1564 | +VCS_TEMPLATE_VIEW = "invenio_vcs/rdm-view.html" |
| 1565 | +VCS_TEMPLATE_REPO_SWITCH = "invenio_vcs/rdm-repo-switch.html" |
| 1566 | +VCS_TEMPLATE_RELEASE_ITEM = "invenio_vcs/rdm-release-item.html" |
0 commit comments