Skip to content
Snippets Groups Projects
Commit 6eb2de16 authored by pabois's avatar pabois
Browse files

rename description_short as summary

parent 25d5b620
No related branches found
No related tags found
No related merge requests found
Showing
with 22 additions and 22 deletions
......@@ -102,7 +102,7 @@ class Admin::Communication::Websites::PagesController < Admin::Communication::We
params.require(:communication_website_page)
.permit(
:communication_website_id, :title, :breadcrumb_title, :bodyclass,
:description, :description_short, :header_text, :text, :slug, :published, :full_width,
:description, :summary, :header_text, :text, :slug, :published, :full_width,
:featured_image, :featured_image_delete, :featured_image_infos, :featured_image_alt, :featured_image_credit,
:parent_id, :language_id
)
......
......@@ -95,7 +95,7 @@ class Admin::Communication::Websites::PostsController < Admin::Communication::We
def post_params
params.require(:communication_website_post)
.permit(
:university_id, :website_id, :title, :description, :description_short, :text,
:university_id, :website_id, :title, :description, :summary, :text,
:published, :published_at, :slug, :pinned,
:featured_image, :featured_image_delete, :featured_image_infos, :featured_image_alt, :featured_image_credit,
:author_id, :language_id, category_ids: []
......
......@@ -64,6 +64,6 @@ class Admin::Education::DiplomasController < Admin::Education::ApplicationContro
def diploma_params
params.require(:education_diploma)
.permit(:name, :short_name, :description_short, :level, :ects, :duration)
.permit(:name, :short_name, :summary, :level, :ects, :duration)
end
end
......@@ -110,7 +110,7 @@ class Admin::Education::ProgramsController < Admin::Education::ApplicationContro
def program_params
params.require(:education_program).permit(
:name, :short_name, :slug, :capacity, :continuing, :initial, :apprenticeship, :description, :description_short, :published,
:name, :short_name, :slug, :capacity, :continuing, :initial, :apprenticeship, :description, :summary, :published,
:featured_image, :featured_image_delete, :featured_image_infos, :featured_image_alt, :featured_image_credit,
:prerequisites, :objectives, :presentation, :registration, :pedagogy, :content, :registration_url,
:evaluation, :accessibility, :pricing, :contacts, :opportunities, :results, :other, :main_information,
......
......@@ -69,11 +69,11 @@ class Admin::University::OrganizationsController < Admin::University::Applicatio
def organization_params
params.require(:university_organization)
.permit(
:name, :long_name, :slug, :description, :description_short, :active, :siren, :kind,
:name, :long_name, :slug, :description, :summary, :active, :siren, :kind,
:address, :zipcode, :city, :country, :text,
:url, :phone, :email,
:logo, :logo_delete, :logo_infos,
:logo_on_dark_background, :logo_on_dark_background_delete, :logo_on_dark_background_infos,
:logo, :logo_delete, :logo_infos,
:logo_on_dark_background, :logo_on_dark_background_delete, :logo_on_dark_background_infos,
)
end
end
......@@ -74,7 +74,7 @@ class Admin::University::PeopleController < Admin::University::ApplicationContro
:slug, :first_name, :last_name, :email, :gender, :birthdate,
:phone_mobile, :phone_professional, :phone_personal,
:address, :zipcode, :city, :country,
:description, :description_short,
:description, :summary,
:biography, :picture, :picture_delete, :picture_infos,
:habilitation, :tenure, :url, :linkedin, :twitter,
:is_researcher, :is_teacher, :is_administration, :is_alumnus,
......
......@@ -26,7 +26,7 @@ class Extranet::PersonalDataController < Extranet::ApplicationController
def person_params
params.require(:university_person)
.permit(
:gender, :birthdate, :description_short, :biography,
:gender, :birthdate, :summary, :biography,
:phone_mobile, :phone_professional, :phone_personal,
:address, :zipcode, :city, :country,
:url, :linkedin, :twitter
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
......@@ -6,7 +6,6 @@
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
......@@ -16,6 +15,7 @@
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# summary :text
# text :text
# title :string
# type :string
......
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