diff --git a/app/views/talks/show.html.haml b/app/views/talks/show.html.haml index b170146f9..9b7612776 100644 --- a/app/views/talks/show.html.haml +++ b/app/views/talks/show.html.haml @@ -110,20 +110,14 @@ .vr-banner.hide-for-small = link_to '#', 'data-reveal-id' => "vr-banner-modal" do %h3 - WHAT IS VOICE REPUBLIC? + = t('.banner_title') %p - Voice Republic is a tool for the creation and distribution of audio content on the Internet. - %br - Users are invited not just to listen to talks and debates, but also to talk to each other and get involved. - %br - We want to encourage the free exchange of ideas, knowledge and opinions on the Net. - %span - More... + = raw t('.banner_text') %a.close-x(data-toggle-stuff=".vr-banner") = raw '×' #vr-banner-modal.reveal-modal(data-reveal) - = image_tag 'vr_infografic.jpg' + = image_tag 'vr_infografic.png' = link_to '#', class: "close-reveal-modal" do × diff --git a/config/locales/en.yml b/config/locales/en.yml index ca4724ed0..622770ebe 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -794,6 +794,14 @@ en: participants: Participants plays: '%{count} plays' edit_talk: Edit Talk + banner_title: WHAT IS VOICE REPUBLIC? + banner_text: | + Voice Republic is a tool for the creation and distribution of audio content on the Internet. +
+ Users are invited not just to listen to talks and debates, but also to talk to each other and get involved. +
+ We want to encourage the free exchange of ideas, knowledge and opinions on the Net. + More... new: title: "VR New Talk" new_talk: New Talk diff --git a/db/schema.rb b/db/schema.rb index cb5918252..ef8d02b6e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140527072135) do +ActiveRecord::Schema.define(version: 20140527114113) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -212,6 +212,7 @@ t.integer "related_talk_id" t.text "storage", default: "--- {}\n" t.string "grade" + t.string "language", default: "en" end add_index "talks", ["grade"], name: "index_talks_on_grade", using: :btree diff --git a/public/images/vr_infografic.jpg b/public/images/vr_infografic.jpg deleted file mode 100644 index 4724b4726..000000000 Binary files a/public/images/vr_infografic.jpg and /dev/null differ diff --git a/public/images/vr_infografic.png b/public/images/vr_infografic.png new file mode 100644 index 000000000..abaee4728 Binary files /dev/null and b/public/images/vr_infografic.png differ