Juan Salvador Pérez García
6cc1ddb9af
Fixes #231
...
Implements a poster feature for the proposals dashboard
2018-07-31 12:50:25 +02:00
Bertocq
6e843730b0
Replace format_price for Budget#formatted_amount
...
ApplicationHelper#format_price and Budget#formatted_amount has the same
objective and code, but the Budget#formatted_amount method also uses the
currency of the Budget to correctly give currencies format.
By replacing usage of format_price with formatted_amount we can remove
format_price and have a single location for currency format logic.
2018-03-08 13:26:36 +01:00
Bertocq
b72e43168b
Use user locale instead of default locale to format currencies
2018-03-08 10:20:05 +01:00
Bertocq
b2c03192bb
Fix kaminari path url helper function
2017-11-19 13:33:49 +01:00
Bertocq
f4af87f8a1
Add kaminari url path helper function
2017-11-18 10:44:30 +01:00
decabeza
bd27767d06
fixes content_tag span on back_link_to helper
2017-07-27 00:50:55 +02:00
Bertocq
10da3dba58
Use content_tag to render span icon on back link helper
2017-07-26 19:13:46 +02:00
decabeza
0b235d69d4
adds consistency for back links
2017-07-26 18:18:30 +02:00
decabeza
5e0d5fc8c3
Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation
2017-05-22 18:43:49 +02:00
rgarcia
ed5a1cecbb
adds budget results
2017-05-19 14:04:46 +02:00
Amaia Castro
c1de2dced4
Custom content blocks for top_links and footer
2017-04-06 17:00:05 +02:00
Amaia Castro
8143fe1037
Site customization: images uploads
2017-04-06 17:00:04 +02:00
Amaia Castro
a2a61341fe
Merge branch 'master' into legislation-module-stable
2017-01-11 22:54:41 +01:00
Juanjo Bazán
dd268c18d7
adds back_link_to helper
2017-01-11 13:01:49 +01:00
Amaia Castro
3ba6b409aa
Make markdown helper safer to use
...
Avoid exception if text is nil
2017-01-03 21:41:00 +01:00
Juanjo Bazán
06596ac4d8
adds author_of? helper method
2016-06-15 17:01:50 +02:00
Alberto Garcia Cabeza
e40f411ecc
Removes unused header css method
2015-12-15 17:04:03 +01:00
Ana
23cbe7ee9f
how to use moved to locale files
2015-12-06 22:13:39 +01:00
Ana
0abe9a7fd9
Eliminated explanation comments about redcarpet options
2015-12-06 18:06:01 +01:00
Ana
ec25d5f6fa
how it works page moved tolocale files using markdown
2015-12-05 16:10:19 +01:00
Juanjo Bazán
349288b992
removes provisional transparency page
2015-12-03 12:51:51 +01:00
Juanjo Bazán
26da253a5d
moves helper method to votes helper and adds spec
2015-09-15 14:44:12 +02:00
Juanjo Bazán
1c5f77def2
makes percentage votes to sum 100
2015-09-15 14:11:12 +02:00
Juanjo Bazán
0062ea13e9
fixes build
2015-09-13 14:26:09 +02:00
Alberto Garcia Cabeza
3255995ea1
Adds new styles for pages
2015-09-03 14:15:01 +02:00
rgarcia
4897d5df4e
makes spaces consistent
2015-09-03 01:29:46 +02:00
kikito
a7929c607d
adds a helper to simplify the way selects and filters are rendered
2015-08-28 20:07:45 +02:00
kikito
934512ad7a
made the locale switcher use less js, more ruby & html
2015-08-28 17:02:06 +02:00
kikito
480ecd39c4
Replaces locales helper which returns an array by another which returns select options
2015-08-19 21:25:56 +02:00
David Gil
9a1bdb7aca
move tags helper to view, fix case when less than 5 tags were present, tag list was showing a + link
2015-08-12 16:26:41 +02:00
David Gil
06d8c96d54
Limiting max number of tags shown on debate cards ~ issue#144
2015-08-12 16:26:41 +02:00
Enrique García
ca575a6f20
Merge pull request #101 from AyuntamientoMadrid/show-0-votes
...
shows "0%" when there's zero votes
2015-08-06 12:00:37 +02:00
Fernando Seror
a89d621d1d
Allow locale to be set through the front-end
...
* Store the last used locale in the session
* Allow home page to be identified in helpers even when containing
parameters
* Create initializer to explicitly set the available locales, the
default and the load_path
2015-08-05 15:43:39 -05:00
Juanjo Bazán
64f5c4e7f1
shows "0%" when there's zero votes
...
Closes #97
2015-08-05 17:56:14 +02:00
Alberto Garcia Cabeza
63895f52c3
Changes tags styles
2015-07-29 17:45:43 +02:00
rgarcia
62be883bcc
displays welcome image only at home page
2015-07-28 13:54:43 +02:00
Juanjo Bazán
bd92f6ec5c
makes tag list sorted
...
fixes build
2015-07-24 12:51:55 +02:00
rgarcia
afdb0980b0
removes empty % sign when there are no votes
2015-07-18 21:27:56 +02:00
rgarcia
e783c2013a
sanitises tag names [ #8 ]
2015-07-18 17:50:40 +02:00
rgarcia
72bc790310
adds tags to debates [ #8 ]
2015-07-18 17:24:16 +02:00
rgarcia
8db3630837
initial commit
2015-07-15 13:32:13 +02:00