Skip to content
Snippets Groups Projects
Commit 8819cbc8 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Remove publications from person [skip ci]

parent 98559c2d
No related branches found
No related tags found
No related merge requests found
...@@ -76,17 +76,6 @@ administrative_missions: ...@@ -76,17 +76,6 @@ administrative_missions:
<%= target.current_permalink_in_website(@website)&.path if target.respond_to? :current_permalink_in_website %> <%= target.current_permalink_in_website(@website)&.path if target.respond_to? :current_permalink_in_website %>
<% end %> <% end %>
<% 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 %> <%= render 'admin/communication/blocks/content/static', about: @about %>
--- ---
<%= prepare_html_for_static @about.biography, @about.university %> <%= prepare_html_for_static @about.biography, @about.university %>
...@@ -105,8 +105,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do ...@@ -105,8 +105,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
t.string "title" t.string "title"
t.boolean "published", default: true t.boolean "published", default: true
t.uuid "communication_website_id"
t.uuid "heading_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 ["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 ["communication_website_id"], name: "index_communication_blocks_on_communication_website_id"
t.index ["heading_id"], name: "index_communication_blocks_on_heading_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 ...@@ -223,7 +223,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do
t.text "home_sentence" t.text "home_sentence"
t.text "sass" t.text "sass"
t.text "css" t.text "css"
t.boolean "allow_experiences_modification", default: true
t.index ["about_type", "about_id"], name: "index_communication_extranets_on_about" t.index ["about_type", "about_id"], name: "index_communication_extranets_on_about"
t.index ["university_id"], name: "index_communication_extranets_on_university_id" t.index ["university_id"], name: "index_communication_extranets_on_university_id"
end end
...@@ -463,7 +462,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_07_17_160238) do ...@@ -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" t.index ["university_id"], name: "index_communication_website_pages_on_university_id"
end 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 "university_id", null: false
t.uuid "website_id", null: false t.uuid "website_id", null: false
t.string "about_type", null: false t.string "about_type", null: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment