Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
{% set message = notification.context.message | safe if notification.context.message else '' %}
{% set community_title = community.metadata.title %}
{% set receiver_name = receiver.username or receiver.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
{% set message = notification.context.message | safe if notification.context.message else '' %}
{% set community_title = community.metadata.title %}
{% set receiver_name = receiver.username or receiver.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
{% set message = notification.context.message | safe if notification.context.message else '' %}
{% set community_title = community.metadata.title %}
{% set receiver_name = receiver.username or receiver.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@

{% set community_title = community.metadata.title %}
{% set receiver_name = receiver.username or receiver.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
{% set community_title = community.metadata.title %}
{% set message = notification.context.message | safe if notification.context.message else '' %}
{% set role = notification.context.role %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
{% set community_title = community.metadata.title %}
{% set record_title = record.metadata.title %}
{% set curator_name = executing_user.username or executing_user.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
{% set community_title = community.metadata.title %}
{% set record_title = record.metadata.title %}
{% set cancel_name = executing_user.username or executing_user.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
{% set community_title = community.metadata.title %}
{% set record_title = record.metadata.title %}
{% set curator_name = executing_user.username or executing_user.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

{% set community_title = community.metadata.title %}
{% set record_title = record.metadata.title %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
{% set community_title = community.metadata.title %}
{% set record_title = record.metadata.title %}
{% set message = notification.context.message | safe if notification.context.message else '' %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
{% set permission = notification.context.permission %}
{% set record_title = record.metadata.title %}
{% set record_link = record.links.self_html %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{% set account_settings_link = "{ui}/account/settings/notifications".format(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

{% set record_title = record.metadata.title %}
{% set request_id = access_request.id %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@

{% set record_title = record.metadata.title %}
{% set record_link = record.links.self_html %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{% set account_settings_link = "{ui}/account/settings/notifications".format(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
{% set message = notification.context.message | safe if notification.context.message else '' %}

{% set cancel_name = executing_user.username or executing_user.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{# TODO: use request.links.self_html when issue issue is resolved: https://github.com/inveniosoftware/invenio-rdm-records/issues/1327 #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
{% set message = notification.context.message | safe if notification.context.message else '' %}

{% set record_title = record.metadata.title %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}
{% set record_link = record.links.self_html %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
{% set record = access_request.topic %}
{% set record_title = record.metadata.title %}
{% set request_id = access_request.id %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% if recipient.data.profile is defined and recipient.data.profile.full_name is defined and recipient.data.profile.full_name %}
{% set recipient_full_name = recipient.data.profile.full_name %}
{% else %}
{% set recipient_full_name = recipient.data.name %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{% endif %}
{% set help_url = config.CDS_SERVICE_ELEMENT_URL %}

{% set request_link = "{ui}/me/requests/{id}".format(
Expand Down