Javi Martín
928312e218
Use sanitize in translations with links
...
Sometimes we're interpolating a link inside a translation, and marking
the whole translations as HTML safe.
However, some translations added by admins to the database or through
crowdin are not entirely under our control.
Although AFAIK crowdin checks for potential cross-site scripting
attacks, it's a good practice to sanitize parts of a string potentially
out of our control before marking the string as HTML safe.
2019-10-08 18:46:21 +02:00
Javi Martín
55a190f44a
Remove unneeded _html suffix in I18n keys
...
This suffix does the same thing as calling `.html_safe` on them. So we
don't need to use it in texts that don't use HTML.
2019-10-08 13:20:22 +02:00
Javi Martín
20ca6beb30
Remove unneeded html_safe and raw calls
...
There's no HTML in these texts, or it has already been escaped by Rails
`link_to` helper method.
2019-10-08 13:20:22 +02:00
Javi Martín
4c35df4812
Use double quotes inside string interpolation
2019-03-25 14:58:54 +01:00
Julian Herrero
25ed245689
Use double quotes in app/views/layouts
2019-03-19 12:16:50 +01:00
decabeza
ccee843da7
Remove unused settings
...
These settings are customised for Madrid's fork. On CONSUL any user can include new links using site customisation content blocks from admin panel.
2019-02-18 15:40:11 +01:00
Julian Herrero
d77183ee09
Improvement - CRUD budgets and content blocks
2019-01-14 12:59:48 +01:00
decabeza
e14b7b67fb
Removes custom content on footer
2018-07-30 17:59:33 +02:00
decabeza
3bcfaeb61a
replaces sr-only class to show-for-sr
2017-06-13 17:51:57 +02:00
decabeza
d3b7eceba9
fixes footer links
2017-06-02 16:40:44 +02:00
decabeza
9b05143e73
adds new title on footer links
2017-05-31 13:21:06 +02:00
decabeza
002f555fc1
improves text and titles of social network links
2017-05-31 13:18:50 +02:00
decabeza
4dedacc82f
removes rel nofollow on social networks links
2017-05-31 12:56:25 +02:00
decabeza
e80cb2ac02
adds rel nofollow on external footer links
2017-05-17 14:20:30 +02:00
decabeza
f4c1c556af
adds telegram setting and include on footer
2017-05-16 18:03:48 +02:00
Alberto Garcia Cabeza
05c366e2ff
removes headings on footer
2017-04-21 17:10:11 +02:00
Alberto Garcia Cabeza
4a06e34aa6
fixes old faq page path
2017-04-21 16:59:28 +02:00
Alberto Garcia Cabeza
8b42d57e18
adds rel nofollow on links
2017-04-21 16:59:11 +02:00
Amaia Castro
613f5521a2
Put footer block inside row div
2017-04-06 17:24:09 +02:00
Fernando Blat
3a275ea850
Use open data setting in footer links
2017-04-06 17:00:05 +02:00
Amaia Castro
c1de2dced4
Custom content blocks for top_links and footer
2017-04-06 17:00:05 +02:00
Amaia Castro
5ee2c9efa0
Add telegram to footer and to social share button
2017-04-05 13:07:08 +02:00
Alberto Garcia Cabeza
c74b65dfba
moves more info link to subnavigation
2017-03-29 17:53:29 +02:00
Alberto Garcia Cabeza
ec13036955
adds unordered list on footer and top links
2016-12-05 17:18:11 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
Alberto Garcia Cabeza
f6571662a2
Adds title on links with target blank
2016-03-14 19:32:49 +01:00
Alberto Garcia Cabeza
3ec0971b37
Replaces icons i tags for span
2016-03-14 19:32:48 +01:00
Alberto Garcia Cabeza
84f044c131
Improves website accessibility
2016-03-08 14:00:06 +01:00
Juanjo Bazán
0325dd6199
refactors settings/flags helper to memoize values
2016-02-04 17:45:43 +01:00
Josep Jaume Rey Peroy
ba74542c3d
Parameterize social links
2016-01-18 12:43:36 +01:00
Alberto Garcia Cabeza
52e5cda45e
Improves footer and account page
2015-12-16 13:03:23 +01:00
Josep Jaume Rey Peroy
a430c3e631
Fix footer links
2015-12-14 16:13:30 +01:00
Josep Jaume Rey Peroy
80104d100f
Normalize page paths
...
Normalize page paths so they can be accessed by `page_path(:id)`.
The benefit of this is that we can add any arbitrary amount of pages
without affecting the routing layer.
2015-12-12 10:22:27 +01:00
Juanjo Bazán
c47f5e84b6
removes provisional transparency page
2015-12-03 20:46:19 +01:00
Alberto Garcia Cabeza
bf5aac32c0
Improves header and footer styles
2015-12-03 19:30:01 +01:00
Alberto Garcia Cabeza
981b9fc637
Updates some texts
2015-11-15 21:08:52 +01:00
Alberto Garcia Cabeza
5050712e5c
Fixes footer logos and change en title
2015-11-10 12:15:55 +01:00
Alberto Garcia Cabeza
2ca4557f2d
Improves accesibility
2015-10-13 16:48:37 +02:00
Alberto Garcia Cabeza
86e435dbe8
Adds Youtube link on header and footer
2015-10-09 16:31:49 +02:00
Alberto Garcia Cabeza
b3c2830d2f
Changes blog url
2015-10-08 10:23:35 +02:00
Alberto Garcia Cabeza
355079f205
Adds social icons on header
2015-10-01 12:56:50 +02:00
Alberto Garcia Cabeza
a39df80112
Adds social networks links on footer
2015-09-30 16:59:42 +02:00
Alberto Garcia Cabeza
3df06ebcb4
Adds accessibility page on footer
2015-09-28 13:46:53 +02:00
Alberto Garcia Cabeza
98937e4467
Improves styles and texts for footer
2015-09-10 13:13:28 +02:00
Alberto Garcia Cabeza
4f16955452
Improves styles for IE8
2015-09-09 20:34:08 +02:00
Alberto Garcia Cabeza
56946b73ea
Adds links on footer titles
2015-09-07 16:37:11 +02:00
Alberto Garcia Cabeza
2aac7b413c
Improves styles for index, header and footer
2015-09-07 00:17:21 +02:00
Alberto Garcia Cabeza
3172223930
Updates header and footer
2015-09-02 23:43:32 +02:00
Alberto Garcia Cabeza
c0eb46288c
Improves header, footer and debates mobile styles
2015-08-29 00:34:49 +02:00
Alberto Garcia Cabeza
900f00b443
Adds new texts on header, debates and footer
2015-08-27 16:46:47 +02:00