@@ -1,6 +1,6 @@
|
||||
<% if user_signed_in? %>
|
||||
<li>
|
||||
<%= link_to notifications_path, class: "notifications", accesskey: "n" do %>
|
||||
<%= link_to notifications_path, class: "notifications" do %>
|
||||
<span class="sr-only"><%= t("layouts.header.notifications") %></span>
|
||||
<% if current_user.notifications_count > 0 %>
|
||||
<span class="icon-circle" aria-hidden="true"></span>
|
||||
@@ -12,19 +12,19 @@
|
||||
<% end %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to(t("layouts.header.my_activity_link"), user_path(current_user), accesskey: "a") %>
|
||||
<%= link_to t("layouts.header.my_activity_link"), user_path(current_user) %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to(t("layouts.header.my_account_link"), account_path, accesskey: "m") %>
|
||||
<%= link_to t("layouts.header.my_account_link"), account_path %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to(t("devise_views.menu.login_items.logout"), destroy_user_session_path, method: :delete) %>
|
||||
<%= link_to t("devise_views.menu.login_items.logout"), destroy_user_session_path, method: :delete %>
|
||||
</li>
|
||||
<% else %>
|
||||
<li>
|
||||
<%= link_to(t("devise_views.menu.login_items.login"), new_user_session_path) %>
|
||||
<%= link_to t("devise_views.menu.login_items.login"), new_user_session_path %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to(t("devise_views.menu.login_items.signup"), new_user_registration_path, class: "button") %>
|
||||
<%= link_to t("devise_views.menu.login_items.signup"), new_user_registration_path, class: "button" %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
<div id="responsive-menu">
|
||||
<div class="top-bar-title">
|
||||
<%= link_to root_path, class: "hide-for-small-only", accesskey: "/" do %>
|
||||
<%= link_to root_path, class: "hide-for-small-only", accesskey: "0" do %>
|
||||
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
||||
<%= setting['org_name'] %>
|
||||
<% end %>
|
||||
|
||||
@@ -19,45 +19,34 @@
|
||||
|
||||
<div class="small-12 medium-6">
|
||||
<table>
|
||||
<caption class="sr-only">Atajos de teclado para el menú de navegación</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">Tecla</th>
|
||||
<th>Página</th>
|
||||
<th scope="col" class="text-center">Tecla</th>
|
||||
<th scope="col">Página</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-center">/</td>
|
||||
<td class="text-center">0</td>
|
||||
<td>Inicio</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">D</td>
|
||||
<td class="text-center">1</td>
|
||||
<td>Debates</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">P</td>
|
||||
<td class="text-center">2</td>
|
||||
<td>Propuestas</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">S</td>
|
||||
<td class="text-center">3</td>
|
||||
<td>Votaciones</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">4</td>
|
||||
<td>Presupuestos participativos</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">I</td>
|
||||
<td>Más información</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">N</td>
|
||||
<td>Notificaciones</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">A</td>
|
||||
<td>Mi actividad</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">M</td>
|
||||
<td>Mi cuenta</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -66,10 +55,11 @@
|
||||
|
||||
<div class="small-12 medium-6">
|
||||
<table>
|
||||
<caption class="sr-only">Combinación de teclas dependiendo del sistema operativo y navegador</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Navegador</th>
|
||||
<th>Combinación de teclas</th>
|
||||
<th scope="col">Navegador</th>
|
||||
<th scope="col">Combinación de teclas</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -104,8 +94,8 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Navegador</th>
|
||||
<th>Acción a realizar </th>
|
||||
<th scope="col">Navegador</th>
|
||||
<th scope="col">Acción a realizar </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -5,20 +5,20 @@
|
||||
<%= layout_menu_link_to t("layouts.header.debates"),
|
||||
debates_path,
|
||||
controller_name == 'debates',
|
||||
accesskey: "d" %>
|
||||
accesskey: "1" %>
|
||||
</li>
|
||||
<% end %>
|
||||
<li>
|
||||
<%= layout_menu_link_to t("layouts.header.proposals"),
|
||||
proposals_path,
|
||||
controller_name == 'proposals',
|
||||
accesskey: "p" %>
|
||||
accesskey: "2" %>
|
||||
</li>
|
||||
<li>
|
||||
<%= layout_menu_link_to t("layouts.header.proposal_ballot"),
|
||||
proposal_ballots_path,
|
||||
controller_name == 'proposal_ballots',
|
||||
accesskey: "v" %>
|
||||
accesskey: "3" %>
|
||||
</li>
|
||||
<% if feature?(:spending_proposals) %>
|
||||
<li>
|
||||
@@ -33,7 +33,7 @@
|
||||
<%= layout_menu_link_to t("layouts.header.budgets"),
|
||||
budgets_path,
|
||||
controller_name == "budgets" || controller_name == "investments",
|
||||
accesskey: "b" %>
|
||||
accesskey: "4" %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<li>
|
||||
<%= link_to t("layouts.header.more_information"),
|
||||
page_path('more_information'),
|
||||
class: ("selected" if current_page?("/more_information")),
|
||||
accesskey: "i" %>
|
||||
class: ("selected" if current_page?("/more_information")) %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to t("layouts.header.external_link_transparency"),
|
||||
|
||||
Reference in New Issue
Block a user