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
86a205c8fc
Extract link to verify account to a mehtod
...
We were using the same text and the same route in many places.
2019-10-05 14:20:03 +02:00
Javi Martín
9289a051c3
Extract partial to show "sign in to vote" message
2019-10-05 14:07:24 +02:00
Javi Martín
2ccc283bb7
Use the same I18n key for "verify account" text
...
We were using several different keys, all of them having the same text.
2019-10-05 14:07:24 +02:00
Javi Martín
78c6f6f7e9
Use the same key for "signin" and "signup" texts
...
We were using the same texts in several places
2019-10-05 14:07:23 +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
Julian Herrero
db774e3fd2
Extract proposal supports progress bar to a partial
2019-05-30 11:19:38 +02:00
Julian Herrero
7fe6285fe3
Use double quotes in app/views/proposals
2019-03-19 12:16:50 +01:00
decabeza
ab70872a7d
Adds new social share partial for proposals
2018-10-31 11:42:00 +01:00
decabeza
71d45093b6
Removes custom content on proposals
2018-07-30 19:35:12 +02:00
decabeza
e0480675ed
Replaces hardcoded social share buttons tag with correct partial
2018-03-07 17:21:59 +01:00
Alberto Garcia Cabeza
23d6eb3067
fixes styles when support a proposal
2016-12-07 17:23:30 +01:00
Alberto Garcia Cabeza
b865eba1ab
removes links on debates and proposals to unlogged users
2016-12-07 17:12:45 +01:00
Alberto Garcia Cabeza
e778c49e64
removes orange blocks and improves contrast on proposals
2016-11-02 16:31:38 +01:00
Alberto Garcia Cabeza
6fd5e6a67a
unifies styles for participation not allowed
2016-10-31 16:50:13 +01:00
Alberto Garcia Cabeza
d46a2f9335
Includes aria hidden attribute on support buttons
2016-05-04 15:21:20 +02:00
Bertocq
f18a1778ff
Hashtag al compartir en redes sociales #65 @AyuntamientoMadrid/consul
2016-04-04 20:56:29 +02:00
Alberto Garcia Cabeza
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +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
Juanjo Bazán
628cbd9e20
removes hardcoding of proposal's supports
...
makes it dynamic based on Proposal.votes_needed_for_success
2015-11-03 19:20:13 +01:00
rgarcia
a3503c7eb3
refactors manager proposal votes
2015-10-08 14:40:47 +02:00
Juanjo Bazán
b921ac9d33
adds proposal url to social buttons
2015-09-23 16:55:44 +02:00
Alberto Garcia Cabeza
34c8dd0b8a
Adds social share for supported proposals
2015-09-22 16:04:54 +02:00
Alberto Garcia Cabeza
fd488092de
Adds styles for proposal percentage and attached
2015-09-15 14:21:09 +02:00
rgarcia
eea3b0922e
adds already supported proposals
2015-09-14 21:21:34 +02:00
Juanjo Bazán
a472b4acc8
implements percentage in proposal supports
2015-09-14 19:06:07 +02:00
Alberto Garcia Cabeza
50dc4dbce4
Adds new styles for proposals
2015-09-14 17:39:45 +02:00
Alberto Garcia Cabeza
06d4cebef3
Adds orange styles for proposals
2015-09-14 17:39:45 +02:00
rgarcia
6641c380bc
fixing conflicts
2015-09-13 22:00:59 +02:00
rgarcia
ad8880d02c
adds proposal votes
2015-09-13 21:56:52 +02:00
Alberto Garcia Cabeza
32b299a194
Adds welcome link and styles for proposals show
2015-09-13 19:09:19 +02:00
Juanjo Bazán
9dee1bc8b2
adds helper to show the right progress bar
2015-09-13 19:00:11 +02:00
Alberto Garcia Cabeza
22db866971
Adds first styles for prposals list
2015-09-13 16:22:50 +02:00
kikito
a2163c068a
Fixes error in view: proposals have no likes
2015-09-12 16:48:41 +02:00
rgarcia
f2b917d486
adds proposal show
2015-09-12 12:30:20 +02:00