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
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
decabeza
3a718d88c0
Shows help link only if feature is enabled
2018-11-14 12:45:52 +01:00
decabeza
b7fd0f3ab1
Adds debates_path on back link to on debates new
2018-06-08 15:13:15 +02:00
decabeza
286371c9d9
Changes more_info folder and path to help
2018-01-30 18:26:30 +01:00
decabeza
6c5513ab38
replaces back_link partial to back_link_to helper
2017-07-26 18:22:45 +02:00
Alberto Garcia Cabeza
533a7492a1
changes more information to more info
2017-04-04 18:01:30 +02:00
Alberto Garcia Cabeza
7d4f92f10a
unifies styles of page forms
2016-10-31 13:11:23 +01:00
Alberto Garcia Cabeza
7320d17bea
Moves back links inside a partial
2016-04-26 13:04:57 +02: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
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00
Alberto Garcia Cabeza
981b9fc637
Updates some texts
2015-11-15 21:08:52 +01:00
Alberto Garcia Cabeza
5b7cda2233
Adds message info on debate new form
2015-09-08 14:47:32 +02:00
Alberto Garcia Cabeza
128a2bc956
Updates some texts
2015-09-04 20:42:02 +02:00
Alberto Garcia Cabeza
7fefcb692e
Changes and updates texts
2015-09-02 23:43:08 +02:00
Alberto Garcia Cabeza
900f00b443
Adds new texts on header, debates and footer
2015-08-27 16:46:47 +02:00
Alberto Garcia Cabeza
570169af57
Changes icons classes names
2015-08-22 14:46:26 +02:00
Alberto Garcia Cabeza
1067d2272e
Adds styles for debate new
2015-08-06 17:59:22 +02:00
Juanjo Bazán
e9c1910d7d
adds i18n to debates' interface
2015-07-28 16:48:36 +02:00
rgarcia
be342cac76
Basic CRU operations [ #5 ]
2015-07-16 19:22:20 +02:00