Julian Nicolas Herrero
08a692341a
Merge pull request #3150 from consul/backport-1769-crud_budget_and_usa
...
[Backport] new CRUD budgets, content blocks and heading map
2019-01-09 17:35:46 +01:00
Julian Herrero
c5a7492128
add some improvements on budget headings
...
Show information about longitude and latitude in a budget heading
Show information about custom content in a budget heading
Fix render of map (zoom scrollable and points clickable)
Fix typo in app/models/map_location.rb
2019-01-02 10:46:46 +01:00
Julian Herrero
d2b3943968
improve rendering of map in the sidebar
2019-01-02 10:41:03 +01:00
decabeza
5924a70385
Removes arrow icon on active process phase
2018-12-28 19:39:11 +01:00
decabeza
6b58a71f3f
Shows tabs only on large screens
...
Also moves ::after styles inside breakpoint(large down) to avoid use !important
2018-12-28 18:23:15 +01:00
decabeza
db86f0e7ab
Changes styles to tabs on processes key dates
2018-12-28 18:22:59 +01:00
decabeza
aebd29f7e2
Adds create question button to admin proposals show
2018-12-19 16:08:57 +01:00
Javier Martín
51f72ca812
Merge pull request #3113 from consul/fix_scroll
...
Fix scroll jump voting investments
2018-12-19 12:39:49 +01:00
Javi Martín
ef9f271c89
Fix scroll jump voting budget investments
...
Removing the padding in the investments header nav bar means it doesn't
leave any empty space when its position changes to a fixed one.
2018-12-18 13:25:51 +01:00
Julian Nicolas Herrero
2175339609
Merge pull request #3106 from consul/2918-crud_budget_groups_headings
...
Change CRUD for budget groups and headings
2018-12-18 10:23:24 +01:00
Julian Herrero
25e1afea48
fix map rendering for budget headings
2018-12-14 15:37:22 +01:00
Javi Martín
8c45be7887
Show proposal info in admin
2018-12-11 20:09:30 +01:00
Julian Nicolas Herrero
9aab3ddd7b
Merge pull request #3038 from MatheusMiranda/add_map_to_heading_page
...
Add map to sidebar on Heading's page
2018-12-11 16:32:35 +01:00
decabeza
6f1e7abedd
Improves styles for milestones documents
2018-12-04 17:31:04 +01:00
decabeza
be199eedec
Fixes icon overlapping on language select form
2018-12-04 17:30:58 +01:00
decabeza
ddcc03450d
Improves styles for help text class
2018-12-04 17:30:51 +01:00
Raimond Garcia
ed9e501ae7
Merge branch 'master' into add_map_to_heading_page
2018-11-27 11:07:16 +01:00
decabeza
8f27398bd1
Fixes globalize tabs when there is a lot of available locales
2018-11-22 11:37:26 +01:00
Matheus Miranda
06f07b1139
Add map to sidebar on Heading's page
...
Signed-off-by: Matheus Miranda <matheusmirandalacerda@gmail.com >
2018-11-16 09:05:23 +01:00
decabeza
3817f59f25
Improves styles to show budgets executions images
2018-11-08 11:57:07 +01:00
decabeza
7d55f64aac
Adds link to milestones on budgets index page
2018-11-07 18:08:03 +01:00
Alberto
0209957fb4
Merge pull request #3020 from consul/legislation-key-dates
...
[Backport] Fixes legislation processes key dates active class
2018-11-07 17:42:24 +01:00
decabeza
04ea068f90
Fixes legislation processes key dates active class
2018-11-07 13:14:41 +01:00
Angel Perez
810bdae37a
Move 'budget_execution_no_image' file to app/assets/images/ folder
2018-11-06 13:02:35 +01:00
decabeza
a07a100828
Fixes image sizes
2018-11-06 13:02:34 +01:00
decabeza
c7936bacae
Adds styles to budgets execution
2018-11-06 13:02:34 +01:00
Javi Martín
9105ac3a69
Prefix classes used in JavaScript with "js-"
...
The same way it's done in the rest of the application.
2018-10-22 16:36:18 +02:00
Javi Martín
1895e2dd2f
Make it easier to know destroy_field is an input
...
By using the input and finding it by its name, it's easier to see the
difference between this input and the delete-language link.
2018-10-22 16:36:18 +02:00
Javi Martín
dbea577062
Follow naming conventions for HTML classes and IDs
...
We use underscores for IDs and hyphens for classes.
2018-10-22 16:36:18 +02:00
Javi Martín
00983200d4
Update information texts translatable fields
...
This part used the code we deleted in order to make it easier to
refactor the rest of the translatable models. Now we add the code back.
2018-10-22 16:36:12 +02:00
Javi Martín
f70ef3ff2f
Fix question options translations not being saved
...
If we enabled the locale and then added an option, the "add option" link
added the partial which was generated before enabling the translation,
and so it generated a field where the translation was disabled.
Enabling the translation after inserting each field solves the issue.
2018-10-22 15:46:24 +02:00
Javi Martín
6278175f57
Update legislation drafts translatable fields
...
Updating it required reorganizing the form so translatable fields are
together.
We also needed to add a `hint` option to the form label and input
methods so the hint wouldn't show up for every language.
Finally, the markdown editor needed to use the same globalize attributes
as inputs, labels and hints, which adds a bit of duplication.
2018-10-22 15:44:14 +02:00
Javi Martín
71601bd3f8
Validate translations in banners
...
This change forces us to use nested attributes for translations, instead
of using the more convenient `:"title_#{locale}"` methods.
On the other hand, we can use Rails' native `_destroy` attribute to
remove existing translations, so we don't have to use our custom
`delete_translations`, which was a bit buggy since it didn't consider
failed updates.
2018-10-22 15:43:28 +02:00
decabeza
dc5c26856b
Removes unnecessary style to orbit slide
2018-10-18 19:40:25 +02:00
decabeza
0c34e66478
Removes styles to fix logo size on devise views
2018-10-18 18:17:22 +02:00
decabeza
7e828d7e94
Removes unnecessary styles for admin budgets groups
2018-10-18 18:16:11 +02:00
decabeza
8535380402
Fixes color of datepicker calendar
2018-10-18 18:15:12 +02:00
decabeza
7a92df8de5
Updates is-active class for view mode
2018-10-18 18:14:39 +02:00
decabeza
dbf41421ed
Removes guide feature
2018-10-17 14:58:29 +02:00
decabeza
0d8c9c289a
Removes closed message on legislation proposals votes
2018-10-04 16:32:32 +02:00
Alberto
857f747ab8
Merge pull request #2922 from consul/legislation-proposals-imageable
...
Legislation proposals imageable
2018-10-02 11:22:19 +02:00
decabeza
aa76251d1d
Adds image to legislation proposals views
2018-10-01 16:49:22 +02:00
Alberto
35ebe79d26
Merge pull request #2921 from consul/custom-js
...
[Backport] Adds custom javascripts folder
2018-09-26 14:24:47 +02:00
Raimond Garcia
4086220ebf
Merge pull request #2914 from microweb10/make_polls_translatable
...
Make polls translatable
2018-09-26 13:19:17 +02:00
decabeza
62490c4640
Adds custom javascripts folder
2018-09-26 12:34:16 +02:00
Javier Martín
ef0192c3ff
Merge pull request #2912 from consul/backport-make-collaborative-legislation-translatable
...
Make collaborative legislation translatable
2018-09-24 17:45:59 +02:00
decabeza
a94591fe78
Loads custom fonts before default ones
...
Also includes a .keep file inside fonts/custom folder to track the directory by git
2018-09-21 13:46:50 +02:00
Julian Herrero
673ec075eb
Make answers translatable
2018-09-20 17:13:40 +02:00
Marko Lovic
05bfa193cd
Make Legislation Draft Versions translatable
2018-09-19 14:54:24 +02:00
Marko Lovic
06347062dd
Make Legislation Questions translatable
2018-09-19 14:54:24 +02:00