Skip to content

Commit

Permalink
Revert "Fix #1657 (#1670)"
Browse files Browse the repository at this point in the history
This reverts commit 5eca6bf.
  • Loading branch information
arnaudlevy committed Apr 2, 2024
1 parent 5eca6bf commit ee280dd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/views/admin/university/people/static.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ 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:
- id: "<%= @about.best_picture.blob.id %>"
- alt: ""
- credit:
<%= prepare_html_for_static @about.picture_credit %>
image: "<%= @about.best_picture.blob.id %>"
credit: >-
<%= prepare_html_for_static @about.picture_credit %>
<% end %>
roles:
<% if @about.author.for_website?(@website) %>
Expand Down

0 comments on commit ee280dd

Please sign in to comment.