mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adds instagram url to conference
This commit is contained in:
parent
e576db90d7
commit
6ae845143e
4 changed files with 8 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class Conference < ActiveRecord::Base
|
|||
:include_social_media_in_splash, :include_program_in_splash,
|
||||
:make_conference_public, :photos_attributes, :banner_photo,
|
||||
:include_banner_in_splash, :targets, :targets_attributes, :campaigns,
|
||||
:campaigns_attributes
|
||||
:campaigns_attributes, :instagram_url
|
||||
|
||||
has_paper_trail
|
||||
|
||||
|
|
|
|||
|
|
@ -46,4 +46,5 @@
|
|||
= f.input :facebook_url, hint: 'This will appear in the social media section as link to the Facebook page of your Conference'
|
||||
= f.input :google_url, label: 'Google+ Url', hint: 'This will appear in the social media section as the link to the Google+ Page of your Conference'
|
||||
= f.input :twitter_url, hint: 'This will appear in the social media section as the link to the Twitter Page of your Conference'
|
||||
= f.input :instagram_url, hint: 'This will appear in the social media section as the link to the Instagram Page of your Conference'
|
||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
class AddInstagramUrlToConference < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conferences, :instagram_url, :string
|
||||
end
|
||||
end
|
||||
|
|
@ -125,6 +125,7 @@ ActiveRecord::Schema.define(version: 20140626123837) do
|
|||
t.integer "banner_photo_file_size"
|
||||
t.datetime "banner_photo_updated_at"
|
||||
t.boolean "include_banner_in_splash", default: false
|
||||
t.string "instagram_url"
|
||||
end
|
||||
|
||||
create_table "conferences_questions", id: false, force: true do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue