Skip to content

Commit

Permalink
feat: display package version in administration panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ntarocco committed Sep 19, 2024
1 parent df0190d commit 1c84824
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion invenio_app_rdm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,14 @@ def github_link_render(record):
# Flask-Menu
# ==========
#

USER_DASHBOARD_MENU_OVERRIDES = {}
"""Overrides for "dashboard" menu."""


# Invenio-Administration
# ======================
#
from invenio_app_rdm import __version__

ADMINISTRATION_DISPLAY_VERSIONS = [("invenio-app-rdm", f"v{__version__}")]
"""Show the InvenioRDM version in the administration panel."""

0 comments on commit 1c84824

Please sign in to comment.