diff --git a/app/models/research/journal/article.rb b/app/models/research/journal/article.rb index 32157535e904017cf24abc32a9e85dfec5d82ea7..2fb8ca12d9d216610a6cb5c6a9be317c8cabb2a2 100644 --- a/app/models/research/journal/article.rb +++ b/app/models/research/journal/article.rb @@ -11,7 +11,7 @@ # references :text # title :string # created_at :datetime not null -# updated_at :datetime not null +# updated_at :date not null # research_journal_id :uuid not null # research_journal_volume_id :uuid # university_id :uuid not null diff --git a/app/views/admin/communication/website/authors/jekyll.html.erb b/app/views/admin/communication/website/authors/jekyll.html.erb index e73c3e8d2ff9e0cc8f4242e141f3a19d65fca1b0..f20667527d8380b7b8927a0f2115f587356c6bef 100644 --- a/app/views/admin/communication/website/authors/jekyll.html.erb +++ b/app/views/admin/communication/website/authors/jekyll.html.erb @@ -1,4 +1,5 @@ --- +title: "<%= @author.to_s %>" identifier: "<%= @author.id %>" first_name: "<%= @author.first_name %>" last_name: "<%= @author.last_name %>" diff --git a/app/views/admin/communication/website/categories/jekyll.html.erb b/app/views/admin/communication/website/categories/jekyll.html.erb index 02c98c5a4d644a05649da1407783782de4025dca..9db2c16a2977950de8fe48be106a635b8923a46e 100644 --- a/app/views/admin/communication/website/categories/jekyll.html.erb +++ b/app/views/admin/communication/website/categories/jekyll.html.erb @@ -1,5 +1,5 @@ --- -name: "<%= @category.name %>" +title: "<%= @category.name %>" slug: "<%= @category.slug %>" identifier: "<%= @category.id %>" parent: "<%= @category.parent_id %>" diff --git a/app/views/admin/communication/websites/show.html.erb b/app/views/admin/communication/websites/show.html.erb index 90b9e9a9af7e55d181da9d9647ebc6c58bd278df..f2c550bc2f249f4bada18a450477e42e9239adb8 100644 --- a/app/views/admin/communication/websites/show.html.erb +++ b/app/views/admin/communication/websites/show.html.erb @@ -51,7 +51,7 @@ </div> <div class="row"> - <div class="col-md-6"> + <div class="col-md-4"> <div class="card mt-5"> <div class="card-header"> <div class="float-end"> @@ -72,7 +72,7 @@ <%= render 'admin/communication/website/categories/list', categories: @website.categories.root.ordered %> </div> </div> - <div class="col-md-6"> + <div class="col-md-4"> <div class="card mt-5"> <div class="card-header"> <div class="float-end"> @@ -93,7 +93,7 @@ <%= render 'admin/communication/website/menus/list', menus: @website.menus.ordered %> </div> </div> - <div class="col-md-6"> + <div class="col-md-4"> <div class="card mt-5"> <div class="card-header"> <div class="float-end"> diff --git a/db/schema.rb b/db/schema.rb index 2b2ddeffa2f346b1548affca3c9ceaa5363fa826..e6377a5f482804b77350ba9a2a45494b7a8a841a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -376,7 +376,7 @@ ActiveRecord::Schema.define(version: 2021_11_09_093030) do t.uuid "research_journal_id", null: false t.uuid "research_journal_volume_id" t.datetime "created_at", precision: 6, null: false - t.datetime "updated_at", precision: 6, null: false + t.date "updated_at", null: false t.uuid "updated_by_id" t.text "abstract" t.text "references"