From ede58b74789f05c224b348e6f985698c68cc9762 Mon Sep 17 00:00:00 2001 From: Camilo Villamizar Date: Mon, 30 Oct 2023 15:04:02 -0300 Subject: [PATCH] POMP-171 Hide orator field for null values in Hon Degrees view --- configuration/views.view.browse_awards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/views.view.browse_awards.yml b/configuration/views.view.browse_awards.yml index 82b0b2b..227cd5c 100644 --- a/configuration/views.view.browse_awards.yml +++ b/configuration/views.view.browse_awards.yml @@ -687,7 +687,7 @@ display: exclude: false alter: alter_text: true - text: "\r\n\r\n\r\n\r\n\r\n
\r\n{%- if field_honorary_degree -%}\r\n{{ field_recipient }} {{ field_honorary_degree }}\r\n
Honorary Degree\r\n{%- elseif field_faculty_award_type -%}\r\n{{ field_recipient }}
{{ field_faculty_award_type }}\r\n{%- elseif field_grad_award_type -%}\r\n{{ field_recipient }}
{{ field_grad_award_type }}\r\n{%- elseif field_emeritus_designation -%}\r\n{{ field_recipient }}
{{ field_emeritus_designation }}\r\n{%- else -%}\r\n{{ field_recipient }}
{{ field_award_type }}\r\n{%- endif -%}\r\n

Awarded at the {{ title_1 }}
\r\nOrator: {{ field_orator_name }}

\r\n
\r\n
\r\n{{ field_image }}\r\n
\r\n
" + text: "\r\n\r\n\r\n\r\n\r\n
\r\n{%- if field_honorary_degree -%}\r\n{{ field_recipient }} {{ field_honorary_degree }}\r\n
Honorary Degree\r\n{%- elseif field_faculty_award_type -%}\r\n{{ field_recipient }}
{{ field_faculty_award_type }}\r\n{%- elseif field_grad_award_type -%}\r\n{{ field_recipient }}
{{ field_grad_award_type }}\r\n{%- elseif field_emeritus_designation -%}\r\n{{ field_recipient }}
{{ field_emeritus_designation }}\r\n{%- else -%}\r\n{{ field_recipient }}
{{ field_award_type }}\r\n{%- endif -%}\r\n

\r\nAwarded at the {{ title_1 }}
\r\n{%- if field_orator_name -%}\r\nOrator: {{- field_orator_name -}}\r\n{%- endif -%}\r\n

\r\n
\r\n
\r\n{{ field_image }}\r\n
\r\n
" make_link: false path: '' absolute: false