Skip to content

Commit

Permalink
mv text to local and better image
Browse files Browse the repository at this point in the history
  • Loading branch information
scuocere committed Jun 17, 2014
1 parent b63f4d1 commit cf90f82
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
12 changes: 3 additions & 9 deletions app/views/talks/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
×

Expand Down
8 changes: 8 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<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...</span>
new:
title: "VR New Talk"
new_talk: New Talk
Expand Down
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
Binary file removed public/images/vr_infografic.jpg
Binary file not shown.
Binary file added public/images/vr_infografic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit cf90f82

@scuocere
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@branch14 now with en.yml integration and better image

Please sign in to comment.