Skip to content

Commit

Permalink
Fix #1657 (#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlevy committed Apr 2, 2024
1 parent e438996 commit 5eca6bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/views/admin/university/people/static.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ contact_details:
<%= render 'admin/application/static/contact_detail', variable: :phone_personal, data: @about.phone_personal, kind: ContactDetails::Phone %>
<%= render 'admin/application/static/contact_detail', variable: :email, data: @about.email, kind: ContactDetails::Email %>
<% if @about.best_picture.attached? %>
image: "<%= @about.best_picture.blob.id %>"
credit: >-
<%= prepare_html_for_static @about.picture_credit %>
image:
- id: "<%= @about.best_picture.blob.id %>"
- alt: ""
- credit:
<%= prepare_html_for_static @about.picture_credit %>
<% end %>
roles:
<% if @about.author.for_website?(@website) %>
Expand Down

0 comments on commit 5eca6bf

Please sign in to comment.