Bertocq
155840a130
Sanitize & truncate text for socialmedia metatags
...
Why:
The html tags weren't removed from the text that was rendered at the
social metatags (twitter & facebook), neither scaped so adding a quoted
text would endup breaking the metatag content and writting in plain
sight the description at the browser view.
How:
Saniziting the text and truncating it afterwards since we don't need to
send more than 140 chars for twitter/facebook social cards.
2018-01-22 11:52:35 +01:00
decabeza
f95d5d4639
improves generic error message
2017-12-22 12:32:34 +01:00
Bertocq
c45d8621de
Fix menu proposals item by avoiding legislation proposals parent check
2017-12-15 13:50:39 +01:00
Raimond Garcia
11e80fbc92
Merge pull request #1903 from wairbut-m2c/aperez-enable-disable-proposals
...
Add enable/disable option for 'Proposals' feature
2017-12-08 11:41:13 +01:00
Bertocq
8bef6d81c8
Fix value for metatag, and use twitter_handle settings value
2017-11-27 13:23:47 +01:00
decabeza
fe987dd7e9
removes unnecessary blank spaces 🙈
2017-11-24 14:29:40 +01:00
decabeza
ccbd99f88b
improves social media meta tags partial with settings
2017-11-24 14:13:45 +01:00
decabeza
69625b7d34
fixes url images on social meta tags partial
2017-11-24 10:58:16 +01:00
Angel Perez
ab9d612128
'Proposals' feature can be enabled/disabled
...
Fixes #1886
2017-11-17 13:10:55 -04:00
decabeza
f0cfe50de4
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-25 11:52:31 +02:00
decabeza
668745f3e1
moves officing menu outside of admin dropdown
2017-10-21 17:36:44 +02:00
decabeza
548fd03ac8
fixes admin login items menu on mobile size
2017-10-17 13:25:09 +02:00
María Checa
841ef2a3a2
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-09 17:19:07 +02:00
Senén Rodero Rodríguez
534aa4146e
Add optional image_url parameter to social sharing partial.
2017-09-26 13:53:42 +02:00
decabeza
ad63b0a7d7
makes filter subnav same style than order links
2017-09-22 18:20:21 +02:00
María Checa
ac5620c583
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-09-21 21:24:56 +02:00
María Checa
6c1c71fcc9
Minor fixes
...
Fixed subnavigation active links and button to create new proposal.
2017-09-21 16:18:08 +02:00
decabeza
3e85961657
fixes duplicated active class on subnavigation
2017-09-20 12:55:34 +02:00
decabeza
eccbe9f833
makes section header minimal
2017-09-13 13:27:37 +02:00
decabeza
503a375b2f
includes question controller name on polls subnavigation
2017-09-08 18:41:46 +02:00
Bertocq
da3ef02e2f
Correctly indent admin login erb file
2017-09-08 12:45:20 +02:00
Raimond Garcia
6f9d48f0eb
Merge branch 'master' into community
2017-09-05 15:40:03 +02:00
Alessandro Cuoghi
82053046f8
Changed column into wide-order-selector.
2017-09-05 12:51:08 +02:00
decabeza
c6b61b6ca5
minimises section header space and main consul logo
2017-09-05 11:45:33 +02:00
decabeza
c68923c5a8
adds helper to prevent show empty admin menu
2017-09-01 18:31:03 +02:00
decabeza
79a461fa86
simplifies css classes on section header partial
2017-08-31 17:43:03 +02:00
decabeza
4e7e1410e9
includes help header and footer on debates and proposals
2017-08-29 18:46:10 +02:00
Bertocq
89452645ee
Use CGI.escape for whatsapp title sharing
2017-08-17 14:14:30 +02:00
decabeza
247ceed3f4
escape quotation marks on whatsapp share links
2017-08-16 13:40:12 +02:00
decabeza
6c5513ab38
replaces back_link partial to back_link_to helper
2017-07-26 18:22:45 +02:00
decabeza
631ea77cf7
adds dropdown on admin menu items
2017-07-19 18:34:07 +02:00
decabeza
2844c03e43
adds consistency on social media filenames
2017-07-18 11:40:19 +02:00
Bertocq
f73c0a700a
Allow social image tags to be overwritten with partial params
2017-07-17 20:35:19 +02:00
decabeza
af7807ce9f
Updates custom note class to foundation help-text
2017-06-27 10:29:36 +02:00
decabeza
c2b129bc00
updates very old foundation class 👴🏻
2017-06-26 18:06:27 +02:00
decabeza
3bcfaeb61a
replaces sr-only class to show-for-sr
2017-06-13 17:51:57 +02:00
Eduardo Martinez Echevarria
68f26ccfbf
Allow the use of a custom path method in suggest partial
...
The path to investments in lists is generated with a helper
method named namespaced_budget_investments_path. This allows
its use in the shared suggest partial. Also, as nested
resource in routes, link_to("title", investments) fails.
2017-06-11 13:28:16 +02:00
Juanjo Bazán
16edbf15a2
Merge pull request #1620 from consul/medialab-legislation
...
Adds Collaborative Legislation
2017-06-07 18:06:15 +02:00
decabeza
b4121f0d27
removes h2 tag on social share partial
2017-05-31 13:53:06 +02:00
decabeza
0c64807ec7
adds title on top links
2017-05-31 13:31:36 +02:00
decabeza
ae879c0cb2
adds title on subnavigation links
2017-05-31 13:19:36 +02:00
Bertocq
fbea920b5c
Add new Proposal Share view plus update social share partial to allow no share_title and divider
2017-05-31 10:59:31 +02:00
Bertocq
f42cec4c41
Create shared partial for Social Share block
2017-05-30 12:25:10 +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
Alberto Garcia Cabeza
b29a353ce5
adds rel canonical on main sections
2017-05-08 15:06:18 +02:00
Alberto Garcia Cabeza
442dc2dc70
improves banners helper
2017-04-28 13:05:05 +02:00
Alberto Garcia Cabeza
8b42d57e18
adds rel nofollow on links
2017-04-21 16:59:11 +02:00
Amaia Castro
9e5324cc1b
Merge branch 'master' into site-customization
2017-04-07 17:29:33 +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