Papaya Labs
5a4b9b0810
Remove trailing whitespaces
2018-09-27 14:36:23 +02:00
Papaya Labs
914bfa645e
Updates translatable custom pages
2018-09-27 13:46:17 +02:00
Juan Salvador Pérez García
488e7e081f
Merge branch 'dashboard' into rebase_consul_master
2018-09-27 09:18:27 +02:00
Marko Lovic
86dbe799ba
Remove extra tag element from cards form
2018-09-26 16:09:09 +02:00
Javi Martín
5bb5cfa7fb
Make Widget::Card translatable
2018-09-26 16:09:09 +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
Raimond Garcia
1fbb428004
Merge pull request #2898 from papayalabs/2889-show-active-tab-in-custom-info-texts
...
Show active tab in custom info texts
2018-09-24 21:11:25 +02:00
Julian Herrero
e6762d6bca
handle non-underscored locale names for cktext_area
2018-09-21 20:50:23 +02:00
Julian Herrero
673ec075eb
Make answers translatable
2018-09-20 17:13:40 +02:00
Julian Herrero
5e6248d2ac
Make questions translatable
2018-09-20 17:11:53 +02:00
Julian Herrero
9495208518
Make polls translatable
2018-09-20 17:07:43 +02:00
Papaya Labs
981281591e
Show active tab in custom info texts
2018-09-19 13:20:10 -05:00
Javi Martín
cc6da6be28
Fix inputs in legislation process translations
...
They were accidentally changed from `text_area` to `text_field` when
making them translatable.
2018-09-19 14:54:24 +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
Marko Lovic
d78aea1fd3
Make Legistlation Processes translatable
2018-09-19 14:54:24 +02:00
Marko Lovic
f6749049c9
Make Admin Notifications translatable
2018-09-19 12:15:26 +02:00
Marko Lovic
5ff85d33d6
Fix submit button text for Admin Notifications admin form
...
In Madrid, the button text didn't change depending on whether the form
is for the "new" page or for the "edit" page.
In consul, the buttons texts were "create admin notification" and
"update admin notification" instead of "create notification" and "update
notification".
Also change translation key from "submit" to "submit_button" to
match other instances.
2018-09-19 12:05:18 +02:00
Papaya Labs
f7c10de627
Fix indentation and include specs
2018-09-18 15:16:31 -05:00
María Checa
eeb7463ff4
Merge pull request #2860 from consul/backport_1582-icon-polls
...
[Backport] Adds status icons on polls poll group
2018-09-18 12:42:37 +02:00
Raimond Garcia
ea72cd058b
Merge pull request #2876 from javierm/ckeditor4_update
...
Ckeditor4 update
2018-09-17 23:02:50 +02:00
Raimond Garcia
cae210c155
Merge pull request #2887 from wairbut-m2c/backport/db_queries
...
[Backport] Replace `.all.each` with `.find_each` to reduce memory usage
2018-09-17 19:06:46 +02:00
Raimond Garcia
0b7eb35b22
Merge pull request #2896 from javierm/backport-refactor-translatable-shared-code
...
[Backport] Refactor code shared by admin-translatable resources
2018-09-17 18:26:55 +02:00
Raimond Garcia
b6602348e2
Merge pull request #2852 from tiagozini/fix-issue-2848
...
Fix bug in facebook share link
2018-09-17 18:23:29 +02:00
Juan Salvador Pérez García
42d448248c
Routes have been refactored
...
Dashboard routes have been refactored. Now instead of having resources
for dashboard and routes inside a dashboard namespace the proposal
routes contain a dashboar singleton containing everything related to it.
2018-09-17 15:44:45 +02:00
Juan Salvador Pérez García
e61eba4e97
locale key containing html has been renamed
...
locale key containing html has been renamed. Now it has the preffix:
_html.
2018-09-17 09:11:09 +02:00
Juan Salvador Pérez García
091e1d492c
Enhacements in navigation
...
Proposal menu will appear highlighted when the voting shown is related
to a proposal. The voting menu entry will appear disabled.
2018-09-14 16:52:30 +02:00
Juan Salvador Pérez García
2ca9a38915
Dashboard navigation enhancements
...
Dashboard links that bring the user outside the dashboard will be open
in a separate tab
2018-09-14 16:45:02 +02:00
Papaya Labs
357b3406ed
Hide Featured section on Home Page if there are no cards
2018-09-13 15:33:24 -05:00
Juan Salvador Pérez García
f875ded0be
Bugfixing and enhancements
...
* Fixed common ability: Retired draft proposal can't be published.
* Fixed proposal dashboard view: progress graph is not available for
draft proposals.
2018-09-13 18:22:59 +02:00
Javi Martín
f917f5eed9
Filter image tags everywhere except in custom pages
...
Allowing image tags everywhere makes us vulnerable to CSRF attacks.
2018-09-12 12:35:28 +02:00
Javi Martín
5faeefab2c
Show the image button only if editing admin pages
...
That's the only place where we need to attach images so far.
2018-09-12 12:35:28 +02:00
Marko Lovic
c7fcdd9b0e
Use standard locale names for Globalize
...
It turns out it is not necessary to downcase and underscore
locale names to use the globalize-accessor gem. The gem
will automatically underscore the locale name when defining and
calling the accessor methods.
2018-09-11 18:48:14 +02:00
Marko Lovic
a1567058b6
Fix type of field for Milestone form
2018-09-11 18:47:38 +02:00
Marko Lovic
7b0aa1e104
Extract merge_translatable_field_options helper method
2018-09-11 18:47:34 +02:00
Marko Lovic
61e3b3b406
Incorporate label into translatabel field
...
Suggested by @javierm so that we can take advantage of certain browser
features that rely on a <label> tag being associated with an <input> tag.
2018-09-11 18:47:28 +02:00
Marko Lovic
2cb3e4b111
Extract translatable field logic to FormBuilder
2018-09-11 18:46:50 +02:00
Angel Perez
303b96553a
Replace .all.each with .find_each when rendering cards
2018-09-10 11:38:32 -04:00
Marko Lovic
cb716e07d7
Extract translation helper from translatable form views
...
So that individual form partials don't depend on the implementation
of how translations are deleted.
2018-09-10 17:17:47 +02:00
Raimond Garcia
4f2ed27f8c
Merge pull request #2865 from consul/backport_1585-make_banners_translatable
...
[Backport] Make banners translatable
2018-09-10 16:41:33 +02:00
Raimond Garcia
778b10d181
Merge pull request #2835 from wairbut-m2c/backport/fix-proposals-menu
...
Fix navigation menu under Legislation::Proposal show view
2018-09-07 18:44:31 +02:00
Raimond Garcia
09482aad09
Merge pull request #2785 from ziyan-junaideen/feature/1-nav-content-blocks
...
Configurable Top Right and Main Navigation Menus
2018-09-05 19:50:59 +02:00
Alberto
21f36e6be5
Merge branch 'master' into feature/1-nav-content-blocks
2018-09-05 12:41:07 +02:00
Tiago P. Zini
416f00aafd
Fixing bug in facebook share link
2018-09-03 23:41:02 -04:00
Marko Lovic
0fa4b60f39
Make Banners translatable
2018-08-30 16:29:29 +02:00
Marko Lovic
bfd9032e9d
Extract translation partial to be shared within admin
...
Refactor: behaviour should be 100% the same
2018-08-27 18:24:24 +02:00
decabeza
bc5741fb16
Adds status icons on polls poll group
2018-08-23 18:46:14 +02:00
Angel Perez
43b040162d
fix(frontend): Only one menu element has 'active' CSS selector
2018-08-06 10:13:41 -04:00
Juan Fernandez
653d36c9e6
Translate static pages
2018-08-04 15:28:41 -04:00
decabeza
a2bf8a85f4
Fixes logo header on devise layout
2018-07-31 18:08:09 +02:00