forked from inveniosoftware/invenio-app-rdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
record restriction grace period: add tombstone page
* closes inveniosoftware/product-rdm#178
- Loading branch information
1 parent
b1951f4
commit 74fe6b4
Showing
8 changed files
with
111 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...pp_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/restricted_tombstone.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{# | ||
Copyright (C) 2024 CERN. | ||
|
||
Invenio App RDM is free software; you can redistribute it and/or modify it | ||
under the terms of the MIT License; see LICENSE file for more details. | ||
#} | ||
{% extends config.THEME_ERROR_TEMPLATE %} | ||
|
||
{%- block message %} | ||
<div class="container centered rel-pt-2"> | ||
<h1 class="ui header inline-block"> | ||
<i class="icon lightning" aria-hidden="true"></i> | ||
<div class="content"> | ||
{{_('Permission required')}} | ||
</div> | ||
</h1> | ||
<p> | ||
{{_('The record was previously accessible to the public but is now restricted to users with access.')}} | ||
<br/> | ||
{{_('The Digital Object Identifier (DOI) associated with this record remains active for reference.')}} | ||
</p> | ||
|
||
<div class="ui message compact text-align-left"> | ||
<div class="content"> | ||
{%- if citation_text %} | ||
<p> | ||
<strong>{{ _("Citation:") }}</strong> {{ citation_text }} | ||
</p> | ||
{%- endif %} | ||
{%- if record.pids.doi %} | ||
<p> | ||
<strong>{{ _("Identifier:") }}</strong> {{ record.pids.doi.identifier }} | ||
</p> | ||
{%- endif %} | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock message %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,7 @@ | |
z-index: 1; | ||
} | ||
} | ||
|
||
.right-floated { | ||
float: right; | ||
} |