forked from consuldemocracy/consuldemocracy
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1723 from AyuntamientoMadrid/pages-texts
[Upstream] Pages texts
- Loading branch information
Showing
10 changed files
with
100 additions
and
113 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,114 @@ | ||
<% provide :title do %><%= t('pages.titles.accessibility') %><% end %> | ||
<% provide :title do %><%= t("pages.titles.accessibility") %><% end %> | ||
<% content_for :canonical do %> | ||
<%= render "shared/canonical", href: page_url("accessibility") %> | ||
<% end %> | ||
|
||
<div class="row"> | ||
<div class="small-12 column"> | ||
<div class="small-12 column"> | ||
|
||
<h1><%= t('.title') %></h1> | ||
<%= simple_format(t('.description')) %> | ||
<h1><%= t("pages.accessibility.title") %></h1> | ||
<%= simple_format(t("pages.accessibility.description")) %> | ||
|
||
<ul> | ||
<% t('.examples').each do |example| %> | ||
<li><%= example %></li> | ||
<% end %> | ||
</ul> | ||
<ul> | ||
<% t("pages.accessibility.examples").each do |example| %> | ||
<li><%= example %></li> | ||
<% end %> | ||
</ul> | ||
|
||
<h2><%= t('.keyboard_shortcuts.title') %></h2> | ||
<h2><%= t("pages.accessibility.keyboard_shortcuts.title") %></h2> | ||
|
||
<p><%= t('.keyboard_shortcuts.navigation_table.description') %></p> | ||
<p><%= t("pages.accessibility.keyboard_shortcuts.navigation_table.description") %></p> | ||
|
||
<div class="small-12 medium-6"> | ||
<table> | ||
<caption class="show-for-sr"><%= t('.keyboard_shortcuts.navigation_table.caption') %></caption> | ||
<thead> | ||
<tr> | ||
<th scope="col" class="text-center"><%= t('.keyboard_shortcuts.navigation_table.key_header') %></th> | ||
<th scope="col"><%= t('.keyboard_shortcuts.navigation_table.page_header') %></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% t('.keyboard_shortcuts.navigation_table.rows').each do |row| %> | ||
<div class="small-12 medium-6"> | ||
<table> | ||
<caption class="show-for-sr"> | ||
<%= t("pages.accessibility.keyboard_shortcuts.navigation_table.caption") %> | ||
</caption> | ||
<thead> | ||
<tr> | ||
<td class="text-center"><%= row[:key_column] %></td> | ||
<td><%= row[:page_column] %></td> | ||
<th scope="col" class="text-center"> | ||
<%= t("pages.accessibility.keyboard_shortcuts.navigation_table.key_header") %> | ||
</th> | ||
<th scope="col"> | ||
<%= t("pages.accessibility.keyboard_shortcuts.navigation_table.page_header") %> | ||
</th> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
</thead> | ||
<tbody> | ||
<% t("pages.accessibility.keyboard_shortcuts.navigation_table.rows").each do |row| %> | ||
<tr> | ||
<td class="text-center"><%= row[:key_column] %></td> | ||
<td><%= row[:page_column] %></td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<p><%= t('.keyboard_shortcuts.browser_table.description') %></p> | ||
<p><%= t("pages.accessibility.keyboard_shortcuts.browser_table.description") %></p> | ||
|
||
<div class="small-12 medium-6"> | ||
<table> | ||
<caption class="show-for-sr"><%= t('.keyboard_shortcuts.browser_table.caption') %></caption> | ||
<thead> | ||
<tr> | ||
<th scope="col"><%= t('.keyboard_shortcuts.browser_table.browser_header') %></th> | ||
<th scope="col"><%= t('.keyboard_shortcuts.browser_table.key_header') %></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% t('.keyboard_shortcuts.browser_table.rows').each do |row| %> | ||
<div class="small-12 medium-6"> | ||
<table> | ||
<caption class="show-for-sr"> | ||
<%= t("pages.accessibility.keyboard_shortcuts.browser_table.caption") %> | ||
</caption> | ||
<thead> | ||
<tr> | ||
<td><%= row[:browser_column] %></td> | ||
<td><%= row[:key_column] %></td> | ||
<th scope="col"> | ||
<%= t("pages.accessibility.keyboard_shortcuts.browser_table.browser_header") %> | ||
</th> | ||
<th scope="col"> | ||
<%= t("pages.accessibility.keyboard_shortcuts.browser_table.key_header") %> | ||
</th> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
</thead> | ||
<tbody> | ||
<% t("pages.accessibility.keyboard_shortcuts.browser_table.rows").each do |row| %> | ||
<tr> | ||
<td><%= row[:browser_column] %></td> | ||
<td><%= row[:key_column] %></td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<h2><%= t('.textsize.title') %></h2> | ||
<p><%= t('.textsize.browser_settings_table.description') %></p> | ||
<h2><%= t("pages.accessibility.textsize.title") %></h2> | ||
<p><%= t("pages.accessibility.textsize.browser_settings_table.description") %></p> | ||
|
||
<div class="small-12 medium-6"> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th scope="col"><%= t('.textsize.browser_settings_table.browser_header') %></th> | ||
<th scope="col"><%= t('.textsize.browser_settings_table.action_header') %></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% t('.textsize.browser_settings_table.rows').each do |row| %> | ||
<div class="small-12 medium-6"> | ||
<table> | ||
<thead> | ||
<tr> | ||
<td><%= row[:browser_column] %></td> | ||
<td><%= row[:action_column] %></td> | ||
<th scope="col"> | ||
<%= t("pages.accessibility.textsize.browser_settings_table.browser_header") %> | ||
</th> | ||
<th scope="col"> | ||
<%= t("pages.accessibility.textsize.browser_settings_table.action_header") %> | ||
</th> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<p><%= t('.textsize.browser_shortcuts_table.description') %></p> | ||
</thead> | ||
<tbody> | ||
<% t("pages.accessibility.textsize.browser_settings_table.rows").each do |row| %> | ||
<tr> | ||
<td><%= row[:browser_column] %></td> | ||
<td><%= row[:action_column] %></td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<ul> | ||
<% t('.textsize.browser_shortcuts_table.rows').each do |row| %> | ||
<li><code><%= row[:shortcut_column] %></code> <%= row[:description_column] %></li> | ||
<% end %> | ||
</ul> | ||
<p><%= t("pages.accessibility.textsize.browser_shortcuts_table.description") %></p> | ||
|
||
<h2><%= t('.compatibility.title') %></h2> | ||
<ul> | ||
<% t("pages.accessibility.textsize.browser_shortcuts_table.rows").each do |row| %> | ||
<li><code><%= row[:shortcut_column] %></code> <%= row[:description_column] %></li> | ||
<% end %> | ||
</ul> | ||
|
||
<p><%= t('.compatibility.description_html') %></p> | ||
<h2><%= t("pages.accessibility.compatibility.title") %></h2> | ||
|
||
<p><%= t("pages.accessibility.compatibility.description_html") %></p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters