diff --git a/app/views/admin/university/people/static.html.erb b/app/views/admin/university/people/static.html.erb index 37a3e865cc4f6a75e56e762f04c13a4f26f28993..dcba7d1ffbcf9b75ff7fbc2732ef60141a251893 100644 --- a/app/views/admin/university/people/static.html.erb +++ b/app/views/admin/university/people/static.html.erb @@ -76,17 +76,6 @@ administrative_missions: <%= target.current_permalink_in_website(@website)&.path if target.respond_to? :current_permalink_in_website %> <% end %> <% end %> -<% if @about.publications.any? %> -publications: -<% @about.publications.ordered.each do |publication| %> - - title: > - <%= prepare_text_for_static publication.title %> - ref: > - <%= prepare_html_for_static publication.ref, @website.university %> - date: "<%= publication.publication_date&.iso8601 %>" - url: "<%= publication.best_url %>" -<% end %> -<% end %> <%= render 'admin/communication/blocks/content/static', about: @about %> --- <%= prepare_html_for_static @about.biography, @about.university %> diff --git a/db/schema.rb b/db/schema.rb index e7fc9d96a08fc7e900f81ec3569da8f381e672f4..8cb44ac9cc9fde2d53143caa86f90101fff6efee 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -105,8 +105,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do t.datetime "updated_at", null: false t.string "title" t.boolean "published", default: true - t.uuid "communication_website_id" t.uuid "heading_id" + t.uuid "communication_website_id" t.index ["about_type", "about_id"], name: "index_communication_website_blocks_on_about" t.index ["communication_website_id"], name: "index_communication_blocks_on_communication_website_id" t.index ["heading_id"], name: "index_communication_blocks_on_heading_id" @@ -223,7 +223,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do t.text "home_sentence" t.text "sass" t.text "css" - t.boolean "allow_experiences_modification", default: true t.index ["about_type", "about_id"], name: "index_communication_extranets_on_about" t.index ["university_id"], name: "index_communication_extranets_on_university_id" end @@ -463,7 +462,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do t.index ["university_id"], name: "index_communication_website_pages_on_university_id" end - create_table "communication_website_permalinks", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| + create_table "communication_website_permalinks", id: :uuid, default: -> { "public.gen_random_uuid()" }, force: :cascade do |t| t.uuid "university_id", null: false t.uuid "website_id", null: false t.string "about_type", null: false