Skip to content

Commit

Permalink
POMP-171 Hide orator field for null values in Hon Degrees view
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Oct 30, 2023
1 parent 0fbbd9d commit ede58b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/views.view.browse_awards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ display:
exclude: false
alter:
alter_text: true
text: "<table>\r\n<tr>\r\n<td>\r\n{%- if field_honorary_degree -%}\r\n<strong>{{ field_recipient }} </strong><span>{{ field_honorary_degree }}</span>\r\n<br><strong>Honorary Degree</strong>\r\n{%- elseif field_faculty_award_type -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_faculty_award_type }}</strong>\r\n{%- elseif field_grad_award_type -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_grad_award_type }}</strong>\r\n{%- elseif field_emeritus_designation -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_emeritus_designation }}</strong>\r\n{%- else -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_award_type }}</strong>\r\n{%- endif -%}\r\n<p>Awarded at the {{ title_1 }}<br>\r\nOrator: {{ field_orator_name }}</p>\r\n</td>\r\n<td>\r\n<figure>\r\n{{ field_image }}\r\n</figure>\r\n</td>\r\n</tr>\r\n</table>"
text: "<table>\r\n<tr>\r\n<td>\r\n{%- if field_honorary_degree -%}\r\n<strong>{{ field_recipient }} </strong><span>{{ field_honorary_degree }}</span>\r\n<br><strong>Honorary Degree</strong>\r\n{%- elseif field_faculty_award_type -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_faculty_award_type }}</strong>\r\n{%- elseif field_grad_award_type -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_grad_award_type }}</strong>\r\n{%- elseif field_emeritus_designation -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_emeritus_designation }}</strong>\r\n{%- else -%}\r\n<strong>{{ field_recipient }} </strong><br><strong>{{ field_award_type }}</strong>\r\n{%- endif -%}\r\n<p>\r\nAwarded at the {{ title_1 }}<br>\r\n{%- if field_orator_name -%}\r\nOrator: {{- field_orator_name -}}\r\n{%- endif -%}\r\n</p>\r\n</td>\r\n<td>\r\n<figure>\r\n{{ field_image }}\r\n</figure>\r\n</td>\r\n</tr>\r\n</table>"
make_link: false
path: ''
absolute: false
Expand Down

0 comments on commit ede58b7

Please sign in to comment.