Merge pull request #657 from AyuntamientoMadrid/remove_highlights

Removes highlights link
This commit is contained in:
Enrique García
2015-10-30 16:33:53 +01:00
4 changed files with 5 additions and 4 deletions

View File

@@ -60,7 +60,6 @@
<div class="row-full subnavigation-container">
<section class="subnavigation row">
<div class="small-12 medium-8 column">
<%= 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")) %>

View File

@@ -26,7 +26,7 @@ en:
locale: "Language:"
administration: "Administration"
moderation: "Moderation"
highlights: "Highlights"
# highlights: "Highlights"
more_information: "More information"
debates: "Debates"
proposals: "Citizen proposals"

View File

@@ -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"

View File

@@ -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