- <%= link_to t("layouts.header.highlights"), highlights_path, class: ("active" if current_page? highlights_path) %>
<%= link_to t("layouts.header.debates"), debates_path, class: ("active" if current_page?(controller: "/debates")) %>
<%= link_to t("layouts.header.proposals"), proposals_path, class: ("active" if current_page?(controller: "/proposals")) %>
<%= link_to t("layouts.header.more_information"), "/more_information", class: ("active" if current_page?("/more_information")) %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 723acdd14..04341b299 100755
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -26,7 +26,7 @@ en:
locale: "Language:"
administration: "Administration"
moderation: "Moderation"
- highlights: "Highlights"
+ # highlights: "Highlights"
more_information: "More information"
debates: "Debates"
proposals: "Citizen proposals"
diff --git a/config/locales/es.yml b/config/locales/es.yml
index ff9882d12..60a557908 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -26,7 +26,7 @@ es:
locale: "Idioma:"
administration: "Administrar"
moderation: "Moderar"
- highlights: "Portada"
+ # highlights: "Portada"
more_information: "Más información"
debates: "Debates"
proposals: "Propuestas ciudadanas"
diff --git a/db/schema.rb b/db/schema.rb
index a5b2ec8c2..7ccb628cc 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -94,10 +94,10 @@ ActiveRecord::Schema.define(version: 20151028221647) do
t.string "visit_id"
t.datetime "hidden_at"
t.integer "flags_count", default: 0
- t.datetime "ignored_flag_at"
t.integer "cached_votes_total", default: 0
t.integer "cached_votes_up", default: 0
t.integer "cached_votes_down", default: 0
+ t.datetime "ignored_flag_at"
t.integer "comments_count", default: 0
t.datetime "confirmed_hide_at"
t.integer "cached_anonymous_votes_total", default: 0
@@ -113,6 +113,7 @@ ActiveRecord::Schema.define(version: 20151028221647) do
add_index "debates", ["cached_votes_total"], name: "index_debates_on_cached_votes_total", using: :btree
add_index "debates", ["cached_votes_up"], name: "index_debates_on_cached_votes_up", using: :btree
add_index "debates", ["confidence_score"], name: "index_debates_on_confidence_score", using: :btree
+ add_index "debates", ["description"], name: "index_debates_on_description", using: :btree
add_index "debates", ["hidden_at"], name: "index_debates_on_hidden_at", using: :btree
add_index "debates", ["hot_score"], name: "index_debates_on_hot_score", using: :btree
add_index "debates", ["title"], name: "index_debates_on_title", using: :btree
@@ -218,6 +219,7 @@ ActiveRecord::Schema.define(version: 20151028221647) do
add_index "proposals", ["author_id"], name: "index_proposals_on_author_id", using: :btree
add_index "proposals", ["cached_votes_up"], name: "index_proposals_on_cached_votes_up", using: :btree
add_index "proposals", ["confidence_score"], name: "index_proposals_on_confidence_score", using: :btree
+ add_index "proposals", ["description"], name: "index_proposals_on_description", using: :btree
add_index "proposals", ["hidden_at"], name: "index_proposals_on_hidden_at", using: :btree
add_index "proposals", ["hot_score"], name: "index_proposals_on_hot_score", using: :btree
add_index "proposals", ["question"], name: "index_proposals_on_question", using: :btree