Skip to content

Commit

Permalink
links: add preview_html link
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Mar 3, 2025
1 parent b9ce9bf commit 13cff1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions invenio_rdm_records/services/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ class RDMRecordServiceConfig(RecordServiceConfig, ConfiguratorMixin):
if_=RecordLink("{+ui}/records/{id}"),
else_=RecordLink("{+ui}/uploads/{id}"),
),
"preview_html": RecordLink("{+ui}/records/{id}?preview=1"),
"doi": record_doi_link,
"self_doi": record_doi_link,
"self_doi_html": record_doi_html_link,
Expand Down

0 comments on commit 13cff1f

Please sign in to comment.