decabeza
8cbc709601
Fixes margin top on recommended index
2018-07-15 21:28:58 -04:00
Angel Perez
e32387ed5b
Improve CSS styles for recommendations partial
2018-07-15 21:28:58 -04:00
decabeza
ecb0041b7f
Adds recommended index partial and styles
2018-07-15 21:28:56 -04:00
iagirre
d5120e1b32
Delete the folder app/assets/images/banners
2018-07-13 12:08:40 -04:00
iagirre
f871868a2b
Max headings are updated when editing heading
...
The max headings label is updated automatically
when updating the heading. It is done via AJAX
and a refresh isn't needed.
2018-07-13 11:46:09 +02:00
iagirre
82cb8d4c52
Changes suggested in PR:
...
* Delete all things related to banner images and styles (in code)
* Add a new test to check that the banner is showing correctly
* Update the specs accordingly to match the changes
Update dev_seed to set a random background_color and a font_color for banners (and remove everything about image and style)
Add a rake task to migrate the banner style to backgroun_color and font_color (so that the banners have the same colors than before)
2018-07-12 10:17:24 -04:00
iagirre
3690cae458
Apply banner style to the new banners
...
Banner sections can be saved (one banner can appear in several sections)
If the hex color is changed in the textfield, the color of the color picker changes.
2018-07-12 10:16:47 -04:00
iagirre
6d6da8affc
Add form fields to set the colours and the sections for the banner
...
Add migrations to store the information in the database
2018-07-12 10:16:47 -04:00
Raimond Garcia
e370069804
Merge pull request #2708 from javierv/fix_suggestions_keyup
...
Fix suggestions being requested with every keystroke
2018-07-12 16:05:09 +02:00
Alberto
c5c611837d
Merge pull request #2732 from consul/legislation-help-gif
...
Legislation help gif
2018-07-11 17:44:12 +02:00
decabeza
334e567d0d
Adds generic annotator help gif
2018-07-11 14:37:27 +02:00
decabeza
9ecb4f4f22
Fixes heading name on budgets index view
2018-07-05 18:14:15 +02:00
decabeza
2b958de992
Fixes valuation budget investments ui
2018-07-05 18:14:08 +02:00
decabeza
3dc469ad2d
Adss image height to recommendations on homepage
2018-07-05 18:13:45 +02:00
decabeza
a6ce928bc6
Fixes images size on help pages
2018-07-05 18:13:38 +02:00
decabeza
6f4f161076
Adds help gif on legislation processes with texts
2018-07-05 18:10:06 +02:00
Alberto
1de0cf083f
Merge pull request #2717 from consul/allow-author-notifications-to-be-moderated
...
Allow author notifications to be moderated
2018-07-03 11:21:26 +02:00
iagirre
88a8aaa083
Add hide button in the user interface
...
The little menu with the hide notification link and block user link
has been added to each proposal notification.
JS for adding the fade efect has also been added.
2018-07-02 18:19:08 +02:00
decabeza
3b9b9c5c8f
Updates styles for management section
2018-07-02 17:41:29 +02:00
Javier Martín
e655c3c958
Fix suggestions keyup timeout.
...
The browser was generating one AJAX request per keystroke, ignoring the
timeout. The clearTimeout() function needs to be called with the ID
value returned by setTimeout().
2018-06-28 21:06:32 +02:00
decabeza
d683a6cd6b
Adds styles to budget investment milestone status and fixes spec
2018-06-27 19:28:43 +02:00
decabeza
de6d919ff0
Fixes scss lint warning
2018-06-22 18:01:39 +02:00
decabeza
6477983a85
Adds card hover effect
2018-06-22 18:01:28 +02:00
decabeza
79eea245a4
Adds gradient overlapping card image
2018-06-22 18:01:12 +02:00
decabeza
804fabdc25
Fixes admin menu toggle
2018-06-22 13:56:25 +02:00
decabeza
cce1c82427
Prevents hide content on equalizer container
2018-06-08 15:13:45 +02:00
decabeza
13d1de169d
Replaces foundation header-sizes to header-styles
2018-06-08 15:12:50 +02:00
Alberto
f9940980b0
Merge pull request #2645 from wairbut-m2c/admin-form-improvements-backport
...
Admin form improvements
2018-06-07 17:44:38 +02:00
Alberto
d8d97b30db
Merge pull request #2663 from consul/homepage-custom
...
Homepage layout
2018-06-06 19:31:51 +02:00
decabeza
ee0bbe42fd
Improves homepage layout
2018-06-06 17:42:54 +02:00
decabeza
58ff7eb202
Fixes scss lint warnings
2018-06-06 17:32:17 +02:00
decabeza
369ae52000
Fixes styles for menu icon, button on header and figure img
2018-06-06 12:02:13 +02:00
decabeza
0bf31bde6c
Updates all active to is-active classes
2018-06-06 12:02:13 +02:00
decabeza
6e065bf075
Avoids duplicated border on cards
2018-06-06 12:01:16 +02:00
decabeza
e4e8ddbf3f
Adds border radius on pagination
2018-06-06 12:01:16 +02:00
decabeza
ee884ed998
Updates active to is-active class for menus
2018-06-06 12:01:16 +02:00
decabeza
43e2a58907
Fixes lint sccs warnings
2018-06-06 12:01:16 +02:00
decabeza
55c3c79879
Updates admin top bar html and styles
2018-06-06 12:01:16 +02:00
decabeza
fcae2c0ac2
Updates top bar html and styles
2018-06-06 12:00:39 +02:00
decabeza
771ef3d9e1
Adds custom consul settings
2018-06-06 12:00:39 +02:00
decabeza
e3b92f1c0c
Adds foundation assets
2018-06-06 12:00:39 +02:00
Alberto
a05f6ac61a
Merge pull request #2641 from consul/homepage
...
Add customization of homepage from admin section
2018-06-01 19:18:44 +02:00
decabeza
8664ac887a
Expands proposals content if there no have image
2018-06-01 18:01:01 +02:00
decabeza
316c816836
Expands cards if feed processes is not enabled
2018-05-28 18:52:59 +02:00
decabeza
7732a6704c
Adds styles and i18n for homepage
2018-05-28 18:17:26 +02:00
decabeza
0ac6531612
Adds styles for homepage users view
2018-05-28 18:17:26 +02:00
decabeza
50fd540797
Adds styles and missing i18n for admin homepage
2018-05-28 18:17:26 +02:00
Angel Perez
9575aa5a42
Fix failing specs for skipping invalid map markers
2018-05-28 11:44:53 -04:00
Angel Perez
dbed904a4e
Fix typo: toogle -> toggle
2018-05-28 11:44:53 -04:00
rgarcia
994e15666e
Skip invalid map markers
...
Why:
Sometimes the latitude or longitude it passed to the map as *********
instead of the actual latitude or longitud. The asterisks are not a
string, breaking the whole array
https://github.com/consul/consul/issues/2380
What:
This commits skips invalid markers and displays the rest
How:
- Substituting the mysterious asterisks for null
(cleanInvestmentCoordinates)
- Validating the coordinates are numbers before trying to pain
them(validCoordinates)
- Adding a numeric function to validate the latitude and longitude
(isNumeric)
https://stackoverflow.com/questions/9716468/is-there-any-function-like-i
snumeric-in-javascript-to-validate-numbers#answer-9716488
2018-05-28 11:44:53 -04:00