decidim-proposals 0.13.1 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/decidim_proposals_manifest.js +1 -0
- data/app/assets/images/decidim/gamification/badges/accepted_proposals.svg +144 -0
- data/app/assets/images/decidim/gamification/badges/proposal_votes.svg +95 -0
- data/app/assets/images/decidim/gamification/badges/proposals.svg +145 -0
- data/app/assets/javascripts/decidim/proposals/add_proposal.js.es6 +1 -2
- data/app/cells/decidim/proposals/collaborative_draft_cell.rb +55 -0
- data/app/cells/decidim/proposals/collaborative_draft_link_to_proposal/show.erb +13 -0
- data/app/cells/decidim/proposals/collaborative_draft_link_to_proposal_cell.rb +57 -0
- data/app/cells/decidim/proposals/collaborative_draft_m/footer.erb +6 -0
- data/app/cells/decidim/proposals/collaborative_draft_m/tags.erb +1 -0
- data/app/cells/decidim/proposals/collaborative_draft_m_cell.rb +39 -0
- data/app/cells/decidim/proposals/endorsers_list/show.erb +1 -2
- data/app/cells/decidim/proposals/irreversible_action_modal/show.erb +27 -0
- data/app/cells/decidim/proposals/irreversible_action_modal_cell.rb +79 -0
- data/app/cells/decidim/proposals/proposal_cell.rb +1 -1
- data/app/cells/decidim/proposals/proposal_link_to_collaborative_draft/show.erb +9 -0
- data/app/cells/decidim/proposals/proposal_link_to_collaborative_draft_cell.rb +30 -0
- data/app/cells/decidim/proposals/proposal_m/footer.erb +1 -1
- data/app/cells/decidim/proposals/proposal_m_cell.rb +9 -1
- data/app/commands/decidim/proposals/accept_access_to_collaborative_draft.rb +70 -0
- data/app/commands/decidim/proposals/admin/answer_proposal.rb +9 -0
- data/app/commands/decidim/proposals/admin/create_proposal.rb +5 -2
- data/app/commands/decidim/proposals/attachment_methods.rb +43 -0
- data/app/commands/decidim/proposals/create_collaborative_draft.rb +73 -0
- data/app/commands/decidim/proposals/create_proposal.rb +13 -48
- data/app/commands/decidim/proposals/publish_collaborative_draft.rb +87 -0
- data/app/commands/decidim/proposals/publish_proposal.rb +7 -0
- data/app/commands/decidim/proposals/reject_access_to_collaborative_draft.rb +63 -0
- data/app/commands/decidim/proposals/request_access_to_collaborative_draft.rb +50 -0
- data/app/commands/decidim/proposals/unvote_proposal.rb +6 -7
- data/app/commands/decidim/proposals/update_collaborative_draft.rb +60 -0
- data/app/commands/decidim/proposals/update_proposal.rb +16 -3
- data/app/commands/decidim/proposals/vote_proposal.rb +3 -0
- data/app/commands/decidim/proposals/withdraw_collaborative_draft.rb +65 -0
- data/app/controllers/concerns/decidim/proposals/collaborative_orderable.rb +56 -0
- data/app/controllers/decidim/proposals/admin/application_controller.rb +1 -0
- data/app/controllers/decidim/proposals/collaborative_draft_collaborator_requests_controller.rb +53 -0
- data/app/controllers/decidim/proposals/collaborative_drafts_controller.rb +171 -0
- data/app/controllers/decidim/proposals/proposals_controller.rb +38 -33
- data/app/controllers/decidim/proposals/versions_controller.rb +23 -0
- data/app/events/decidim/proposals/collaborative_draft_access_accepted_event.rb +8 -0
- data/app/events/decidim/proposals/collaborative_draft_access_rejected_event.rb +8 -0
- data/app/events/decidim/proposals/collaborative_draft_access_request_event.rb +27 -0
- data/app/events/decidim/proposals/collaborative_draft_access_requested_event.rb +8 -0
- data/app/events/decidim/proposals/collaborative_draft_access_requester_accepted_event.rb +8 -0
- data/app/events/decidim/proposals/collaborative_draft_access_requester_rejected_event.rb +8 -0
- data/app/events/decidim/proposals/collaborative_draft_withdrawn_event.rb +29 -0
- data/app/events/decidim/proposals/proposal_mentioned_event.rb +3 -1
- data/app/forms/decidim/proposals/accept_access_to_collaborative_draft_form.rb +10 -0
- data/app/forms/decidim/proposals/access_to_collaborative_draft_form.rb +35 -0
- data/app/forms/decidim/proposals/collaborative_draft_form.rb +18 -0
- data/app/forms/decidim/proposals/proposal_form.rb +2 -21
- data/app/forms/decidim/proposals/proposal_wizard_create_step_form.rb +36 -0
- data/app/forms/decidim/proposals/reject_access_to_collaborative_draft_form.rb +9 -0
- data/app/forms/decidim/proposals/request_access_to_collaborative_draft_form.rb +20 -0
- data/app/helpers/decidim/proposals/application_helper.rb +23 -8
- data/app/helpers/decidim/proposals/collaborative_draft_cells_helper.rb +48 -0
- data/app/helpers/decidim/proposals/collaborative_draft_helper.rb +29 -0
- data/app/helpers/decidim/proposals/map_helper.rb +3 -2
- data/app/helpers/decidim/proposals/proposal_cells_helper.rb +1 -1
- data/app/helpers/decidim/proposals/proposal_endorsements_helper.rb +15 -0
- data/app/helpers/decidim/proposals/proposal_wizard_helper.rb +52 -4
- data/app/models/decidim/proposals/collaborative_draft.rb +54 -0
- data/app/models/decidim/proposals/collaborative_draft_collaborator_request.rb +13 -0
- data/app/models/decidim/proposals/proposal.rb +9 -3
- data/app/permissions/decidim/proposals/permissions.rb +53 -9
- data/app/presenters/decidim/proposals/admin_log/proposal_presenter.rb +2 -2
- data/app/presenters/decidim/proposals/admin_log/value_types/proposal_title_body_presenter.rb +17 -0
- data/app/presenters/decidim/proposals/collaborative_draft_presenter.rb +27 -0
- data/app/presenters/decidim/proposals/proposal_presenter.rb +24 -1
- data/app/queries/decidim/proposals/similar_collaborative_drafts.rb +52 -0
- data/app/queries/decidim/proposals/similar_proposals.rb +2 -4
- data/app/services/decidim/proposals/collaborative_draft_search.rb +61 -0
- data/app/services/decidim/proposals/diff_renderer.rb +58 -0
- data/app/services/decidim/proposals/proposal_search.rb +1 -1
- data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_proposals.html.erb +8 -3
- data/app/views/decidim/participatory_spaces/_highlighted_proposals.html.erb +8 -3
- data/app/views/decidim/proposals/admin/proposal_answers/edit.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals/_form.html.erb +4 -4
- data/app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb +5 -2
- data/app/views/decidim/proposals/admin/proposals/index.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals/update_category.js.erb +4 -4
- data/app/views/decidim/proposals/admin/shared/_info_proposal.html.erb +2 -2
- data/app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb +8 -0
- data/app/views/decidim/proposals/collaborative_drafts/_collaborative_drafts.html.erb +16 -0
- data/app/views/decidim/proposals/collaborative_drafts/_collaborator_requests.html.erb +20 -0
- data/app/views/decidim/proposals/collaborative_drafts/_count.html.erb +1 -0
- data/app/views/decidim/proposals/collaborative_drafts/_filters.html.erb +30 -0
- data/app/views/decidim/proposals/collaborative_drafts/_filters_small_view.html.erb +18 -0
- data/app/views/decidim/proposals/collaborative_drafts/_new_collaborative_draft_button.html.erb +11 -0
- data/app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb +10 -0
- data/app/views/decidim/proposals/collaborative_drafts/_request_access_form.html.erb +7 -0
- data/app/views/decidim/proposals/collaborative_drafts/compare.html.erb +19 -0
- data/app/views/decidim/proposals/collaborative_drafts/complete.html.erb +70 -0
- data/app/views/decidim/proposals/collaborative_drafts/edit.html.erb +57 -0
- data/app/views/decidim/proposals/collaborative_drafts/index.html.erb +23 -0
- data/app/views/decidim/proposals/collaborative_drafts/index.js.erb +10 -0
- data/app/views/decidim/proposals/collaborative_drafts/new.html.erb +28 -0
- data/app/views/decidim/proposals/collaborative_drafts/show.html.erb +136 -0
- data/app/views/decidim/proposals/proposal_endorsements/_identity.html.erb +1 -1
- data/app/views/decidim/proposals/proposal_endorsements/update_buttons_and_counters.js.erb +1 -1
- data/app/views/decidim/proposals/proposal_votes/update_buttons_and_counters.js.erb +5 -5
- data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +57 -0
- data/app/views/decidim/proposals/proposals/_endorsement_button.html.erb +3 -3
- data/app/views/decidim/proposals/proposals/_endorsements_card_row.html.erb +1 -7
- data/app/views/decidim/proposals/proposals/_linked_proposals.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_proposal.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_proposal_preview.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_proposal_similar.html.erb +3 -3
- data/app/views/decidim/proposals/proposals/_vote_button.html.erb +4 -3
- data/app/views/decidim/proposals/proposals/_wizard_aside.html.erb +2 -2
- data/app/views/decidim/proposals/proposals/compare.html.erb +5 -3
- data/app/views/decidim/proposals/proposals/complete.html.erb +2 -57
- data/app/views/decidim/proposals/proposals/edit.html.erb +1 -34
- data/app/views/decidim/proposals/proposals/edit_draft.html.erb +1 -34
- data/app/views/decidim/proposals/proposals/index.html.erb +5 -1
- data/app/views/decidim/proposals/proposals/new.html.erb +13 -7
- data/app/views/decidim/proposals/proposals/preview.html.erb +2 -2
- data/app/views/decidim/proposals/proposals/show.html.erb +6 -5
- data/app/views/decidim/proposals/versions/_version.html.erb +20 -0
- data/app/views/decidim/proposals/versions/index.html.erb +34 -0
- data/app/views/decidim/proposals/versions/show.html.erb +39 -0
- data/config/locales/ca.yml +222 -17
- data/config/locales/en.yml +208 -3
- data/config/locales/es-PY.yml +208 -3
- data/config/locales/es.yml +281 -76
- data/config/locales/eu.yml +208 -3
- data/config/locales/fi.yml +335 -131
- data/config/locales/fr.yml +208 -3
- data/config/locales/gl.yml +208 -3
- data/config/locales/hu.yml +622 -0
- data/config/locales/it.yml +208 -3
- data/config/locales/nl.yml +208 -3
- data/config/locales/pl.yml +214 -3
- data/config/locales/pt-BR.yml +212 -7
- data/config/locales/pt.yml +208 -3
- data/config/locales/ru.yml +20 -19
- data/config/locales/sv.yml +313 -108
- data/config/locales/uk.yml +25 -24
- data/db/migrate/20180326091532_create_decidim_proposals_collaborative_drafts.rb +29 -0
- data/db/migrate/20180613151121_create_collaborative_draft_collaborator_requests.rb +12 -0
- data/db/migrate/20180711074134_add_counter_cache_coauthorships_to_collaborative_drafts.rb +7 -0
- data/db/migrate/20180711075004_remove_index_counter_cache_coauthorships_to_proposals.rb +7 -0
- data/lib/decidim/proposals/admin_engine.rb +1 -0
- data/lib/decidim/proposals/commentable_collaborative_draft.rb +38 -0
- data/lib/decidim/proposals/component.rb +69 -4
- data/lib/decidim/proposals/engine.rb +48 -2
- data/lib/decidim/proposals/proposal_serializer.rb +4 -3
- data/lib/decidim/proposals/test/factories.rb +74 -13
- data/lib/decidim/proposals/version.rb +1 -1
- data/lib/decidim/proposals.rb +1 -0
- metadata +94 -24
- data/app/cells/decidim/proposals/coauthorships_cell.rb +0 -40
- data/app/views/decidim/participatory_processes/participatory_process_groups/_proposal.html.erb +0 -1
- data/app/views/decidim/participatory_spaces/_proposal.html.erb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb67f4cb93f38cab5531b3f8a53d1676602c577f581b572a5d88220c00b1aead
|
4
|
+
data.tar.gz: b882d6cb2e2a956fba9286247d185c337b549006cc4d0a8651386b63476204b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2ab9d9709178004cfcd4f6a4d049218e4fcb08577e3b88a3b4da8f03333b8cba701c4d3fa8df10733a195f293c1a446649f1b604480b5c5abf392f0d17f1be1
|
7
|
+
data.tar.gz: 97054a7e8738f15ba6752ee421841fa0e2a6c588056aeddec164bb0caf03f906a8abb9e2926e072e4fb6348620e67f8b8eb0e51bb74227def66ab5d70e6a2c76
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<svg version="1.1" id="accepted-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
2
|
+
y="0px" width="1080px" height="1080px" viewBox="0 0 1080 1080" enable-background="new 0 0 1080 1080" xml:space="preserve">
|
3
|
+
<g id="accepted" class="stroke-primary">
|
4
|
+
<g id="sleeve_1_">
|
5
|
+
|
6
|
+
<rect class="fill-primary" id="_x32_5-pct_3_" x="383.5" y="795.5" fill="#31536E" fill-opacity="0.25" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" width="251" height="286"/>
|
7
|
+
<rect class="fill-primary" x="383.5" y="908.5" fill="#31536E" width="251" height="173"/>
|
8
|
+
<circle fill="#FFFFFF" stroke="#31536E" stroke-width="8" stroke-miterlimit="10" cx="579.667" cy="861.668" r="22.5"/>
|
9
|
+
<circle class="fill-primary" fill="#31536E" cx="579.5" cy="861.5" r="13"/>
|
10
|
+
</g>
|
11
|
+
<g>
|
12
|
+
<g id="hand_1_">
|
13
|
+
|
14
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
15
|
+
M592.395,671.5c61.525-25.129,97.612-56.398,133.562-112.237c0,0,4.314-90.19,0-110.727
|
16
|
+
c-19.493,1.786-56.957-21.036-86.993,83.572c-23.964,5.392-52.964,26.559-90,32.964"/>
|
17
|
+
|
18
|
+
<line fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="418.5" y1="795.5" x2="418.5" y2="677.5"/>
|
19
|
+
|
20
|
+
<line fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="604.5" y1="669.5" x2="604.5" y2="795.5"/>
|
21
|
+
|
22
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
23
|
+
M572.321,554.571c0,0-87.773-39.071-88.75-93.644c16.07-10.714,63.07-69,73.596-83.286c10.524,7.143,57.627,28.263,60.368,31.786
|
24
|
+
c12.192,15.667,61.25,56.072,98.75,28.394c-4.465-19.644-24.821-52.679-28.394-60.714c-3.571-8.035-11.606-22.536-23.214-29.679
|
25
|
+
c-11.606-7.143-60-40.857-85.179-53.357s-49.821-3.571-56.071,0c-6.25,3.571-99.822,65-129.929,96.25
|
26
|
+
C363.392,421.571,352.5,447.5,352.5,447.5s-2.401,136.587,64.531,226.439"/>
|
27
|
+
|
28
|
+
<path class="fill-primary" id="_x32_5-pct_4_" fill="#31536E" fill-opacity="0.25" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
29
|
+
M370.5,418.321c18.5-44.644,59.535-181.464,63.107-193.964c3.571-12.5,30-20,62.143-24.464
|
30
|
+
c32.143-4.464,94.286-17.429,108.75-19.214c14.464-1.785,25.179,5.358,43.929,16.072s47.286,23.214,79.446,35.714
|
31
|
+
c-5.34,48.214-30.339,55.876-41.946,55.17c-11.606-0.706-42.68,4.008-88.215-29.027c0,0-24.464,2.964-87.714,19.036
|
32
|
+
l-3.909,27.584"/>
|
33
|
+
|
34
|
+
<path class="fill-primary" id="_x35_0-pct_3_" fill="#31536E" fill-opacity="0.5" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
35
|
+
M484.548,201.858c29.06-40.358,88.881-109.572,101.381-122.072c19.644,15.178,47.357,46.428,5.571,100.893"/>
|
36
|
+
|
37
|
+
<path fill="#FFFFFF" fill-opacity="0.5" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
38
|
+
M722.875,236.465l-46.55-19.335c-2.54,8.62-13.532,24.692,0,27.37s43.572,8.656,43.572,8.656L722.875,236.465z"/>
|
39
|
+
<path fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
40
|
+
M707.199,451.459c0,0-9.086,51.541,0,53.326s20.505,0,20.505,0"/>
|
41
|
+
|
42
|
+
<path fill="#FFFFFF" fill-opacity="0.5" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
43
|
+
M586.929,84.786l-26.049,30.076c9.979,9.209,16.312,10.862,20.787,4c3.773-5.786,3.806-6.09,17.079-21.401L586.929,84.786z"/>
|
44
|
+
</g>
|
45
|
+
</g>
|
46
|
+
|
47
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="602.5" y1="861.5" x2="612.5" y2="861.5"/>
|
48
|
+
|
49
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="544.5" y1="861.5" x2="557.5" y2="861.5"/>
|
50
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
51
|
+
M522.011,422.676c1.989,14.646,6.312,40.896,1.848,41.788c6.25,9.822,27.142,45.127,24.643,73.036"/>
|
52
|
+
|
53
|
+
<path class="fill-primary" id="_x35_0-pct" fill="#31536E" fill-opacity="0.5" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
54
|
+
M522.011,422.676c1.989,14.646,6.312,40.896,1.848,41.788c6.25,9.822,27.142,45.127,24.643,73.036l-45.705-31.921l-19.225-44.651
|
55
|
+
L522.011,422.676z"/>
|
56
|
+
|
57
|
+
<line fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="525.678" y1="273.6" x2="523.429" y2="294.071"/>
|
58
|
+
<path fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
59
|
+
M695.802,395.398c-10.302,6.279-11.944,16.53-11.052,20.102s16.611,27.103,16.611,27.103"/>
|
60
|
+
|
61
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-miterlimit="10" x1="638.964" y1="532.108" x2="656.295" y2="550.628"/>
|
62
|
+
|
63
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-miterlimit="10" x1="557.167" y1="377.642" x2="557.167" y2="351.599"/>
|
64
|
+
|
65
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-miterlimit="10" x1="597.714" y1="252.608" x2="604.5" y2="231.143"/>
|
66
|
+
|
67
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-miterlimit="10" x1="483.571" y1="460.928" x2="455.093" y2="461.459"/>
|
68
|
+
|
69
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-miterlimit="10" x1="510" y1="277.644" x2="495.591" y2="264.603"/>
|
70
|
+
<g id="stars_3" class="stars">
|
71
|
+
|
72
|
+
<path fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
73
|
+
M178.645,872.483c0-14.688-18.667-35.354-35.355-35.354c15.355-0.001,35.355-20.334,35.355-35.356
|
74
|
+
c0,15.022,16.667,35.355,35.355,35.355C194.978,837.129,178.645,857.796,178.645,872.483z"/>
|
75
|
+
<g>
|
76
|
+
|
77
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="267.833" cy="219.444" r="13.5"/>
|
78
|
+
|
79
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="268" y1="195.944" x2="268" y2="165.944"/>
|
80
|
+
|
81
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="268" y1="243.944" x2="268" y2="273.944"/>
|
82
|
+
|
83
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="291" y1="219.944" x2="321" y2="219.944"/>
|
84
|
+
|
85
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="244" y1="219.944" x2="214" y2="219.944"/>
|
86
|
+
</g>
|
87
|
+
<g>
|
88
|
+
|
89
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="878.875" y1="649.072" x2="852.713" y2="675.234"/>
|
90
|
+
|
91
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="843.521" y1="684.429" x2="817.357" y2="710.592"/>
|
92
|
+
|
93
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="878.168" y1="710.592" x2="852.005" y2="684.429"/>
|
94
|
+
|
95
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="842.813" y1="675.234" x2="816.65" y2="649.072"/>
|
96
|
+
</g>
|
97
|
+
|
98
|
+
<path fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
99
|
+
M488.591,88.553c0,0-24.603,4.604-30.249,10.249c-5.646,5.646-10.249,30.249-10.249,30.249s-4.603-24.603-10.249-30.249
|
100
|
+
c-5.646-5.646-30.249-10.249-30.249-10.249s25.188-5.187,30.249-10.249c5.062-5.062,10.249-30.249,10.249-30.249
|
101
|
+
s4.604,24.603,10.249,30.249C463.988,83.95,488.591,88.553,488.591,88.553z"/>
|
102
|
+
<g>
|
103
|
+
|
104
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="814.929" cy="165.944" r="18.5"/>
|
105
|
+
|
106
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="774.929" cy="165.944" r="7.166"/>
|
107
|
+
|
108
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="814.929" cy="205.944" r="7.166"/>
|
109
|
+
|
110
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="854.929" cy="165.944" r="7.166"/>
|
111
|
+
|
112
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="814.929" cy="125.944" r="7.166"/>
|
113
|
+
</g>
|
114
|
+
<g>
|
115
|
+
|
116
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="133.832" y1="444.075" x2="188.735" y2="498.98"/>
|
117
|
+
|
118
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="188.735" y1="444.075" x2="133.832" y2="498.98"/>
|
119
|
+
|
120
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="143.086" y1="471.103" x2="116.086" y2="471.103"/>
|
121
|
+
|
122
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="181.086" y1="471.103" x2="208.086" y2="471.103"/>
|
123
|
+
|
124
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="162.086" y1="490.103" x2="162.086" y2="517.103"/>
|
125
|
+
|
126
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="162.086" y1="452.103" x2="162.086" y2="425.103"/>
|
127
|
+
</g>
|
128
|
+
<g>
|
129
|
+
|
130
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="912.5" y1="845.944" x2="912.5" y2="924.944"/>
|
131
|
+
|
132
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="951.5" y1="885.944" x2="872.5" y2="885.944"/>
|
133
|
+
|
134
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="892.5" cy="905.444" r="7.039"/>
|
135
|
+
|
136
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="892.5" cy="865.444" r="7.039"/>
|
137
|
+
|
138
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="932.5" cy="905.444" r="7.039"/>
|
139
|
+
|
140
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="932.5" cy="865.444" r="7.039"/>
|
141
|
+
</g>
|
142
|
+
</g>
|
143
|
+
</g>
|
144
|
+
</svg>
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<svg version="1.1" id="supports-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
2
|
+
y="0px" width="1080px" height="1080px" viewBox="0 0 1080 1080" enable-background="new 0 0 1080 1080" xml:space="preserve">
|
3
|
+
<g id="supports" class="stroke-primary">
|
4
|
+
<g id="thumb-up">
|
5
|
+
|
6
|
+
<rect class="fill-primary" id="_x35_0-pct_10_" x="269.861" y="593.333" fill="#31536E" fill-opacity="0.5" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" width="169.596" height="357.296"/>
|
7
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
8
|
+
M441.917,625.219c77.063,0,110.925-67.804,117.19-105.751c5.192-31.435-0.575-127.921-0.575-127.921s86.541-11.506,92.469,53.694
|
9
|
+
c5.927,65.199,1.793,176.676,1.793,176.676h-65.201l156.71,1.21c0,0,64.839-6.822,64.839,43.559c0,50.387,0,155.638,0,207.458
|
10
|
+
c0,63.782-2.858,76.485-57.391,76.485c-38.522,0-184.904,0-223.43,0c-38.53,0-44.453-30.489-44.453-30.489h-39.646"/>
|
11
|
+
<g>
|
12
|
+
<path class="fill-primary" id="_x32_5-pct_10_" fill="#31536E" fill-opacity="0.25" d="M751.75,893.462c-38.522,0-184.904,0-223.43,0
|
13
|
+
c-38.53,0-44.453-30.489-44.453-30.489h-39.646l-1.858-237.761c-0.149,0.001-0.296,0.007-0.446,0.007l2.305,294.921h39.646
|
14
|
+
c0,0,5.922,30.489,44.453,30.489c38.526,0,184.908,0,223.43,0c54.532,0,57.391-12.703,57.391-76.485c0-15.319,0-35.308,0-57.167
|
15
|
+
C809.141,880.759,806.282,893.462,751.75,893.462z"/>
|
16
|
+
</g>
|
17
|
+
</g>
|
18
|
+
<path class="fill-primary" fill="#31536E" d="M708.884,149.655c-28.163-28.162-73.823-28.162-101.985,0l-18.359,18.359l-18.358-18.358
|
19
|
+
c-28.163-28.163-73.824-28.163-101.986,0c-28.163,28.163-28.163,73.824,0,101.986l120.344,120.344l0,0l0.001,0.001l58.044-58.044
|
20
|
+
l43.943-43.942L690.525,270l18.358-18.359C737.047,223.479,737.047,177.818,708.884,149.655z"/>
|
21
|
+
<g id="stars_7" class="stars">
|
22
|
+
|
23
|
+
<path fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
24
|
+
M213.313,169.895c0-12.963-16.474-31.2-31.2-31.2c13.551,0,31.2-17.944,31.2-31.201c0,13.257,14.707,31.201,31.2,31.201
|
25
|
+
C227.727,138.695,213.313,156.932,213.313,169.895z"/>
|
26
|
+
<g>
|
27
|
+
|
28
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="932.273" cy="132.884" r="11.913"/>
|
29
|
+
|
30
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="917.715" y1="118.116" x2="898.994" y2="99.396"/>
|
31
|
+
|
32
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="947.667" y1="148.068" x2="966.387" y2="166.788"/>
|
33
|
+
|
34
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="947.043" y1="118.739" x2="965.763" y2="100.02"/>
|
35
|
+
|
36
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="917.715" y1="148.068" x2="898.994" y2="166.788"/>
|
37
|
+
</g>
|
38
|
+
<g>
|
39
|
+
|
40
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="227.091" y1="584.43" x2="204.003" y2="607.52"/>
|
41
|
+
|
42
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="195.892" y1="615.631" x2="172.803" y2="638.719"/>
|
43
|
+
|
44
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="226.467" y1="638.719" x2="203.379" y2="615.631"/>
|
45
|
+
|
46
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="195.268" y1="607.52" x2="172.18" y2="584.43"/>
|
47
|
+
</g>
|
48
|
+
|
49
|
+
<path fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
50
|
+
M927.763,911.402c0,0-19.032,3.562-23.397,7.929c-4.366,4.367-7.928,23.396-7.928,23.396s-3.562-19.03-7.93-23.396
|
51
|
+
c-4.366-4.366-23.396-7.929-23.396-7.929s19.479-4.013,23.396-7.929s7.93-23.396,7.93-23.396s3.562,19.03,7.928,23.396
|
52
|
+
C908.73,907.841,927.763,911.402,927.763,911.402z"/>
|
53
|
+
<g>
|
54
|
+
|
55
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="917.977" cy="493.158" r="14.653"/>
|
56
|
+
|
57
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="886.293" cy="493.158" r="5.676"/>
|
58
|
+
|
59
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="917.977" cy="524.839" r="5.676"/>
|
60
|
+
|
61
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="949.657" cy="493.158" r="5.676"/>
|
62
|
+
|
63
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="917.977" cy="461.475" r="5.676"/>
|
64
|
+
</g>
|
65
|
+
<g>
|
66
|
+
|
67
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="142.49" y1="864.953" x2="190.941" y2="913.405"/>
|
68
|
+
|
69
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="190.941" y1="864.953" x2="142.49" y2="913.405"/>
|
70
|
+
|
71
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="150" y1="888.475" x2="127" y2="888.475"/>
|
72
|
+
|
73
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="185" y1="888.475" x2="208" y2="888.475"/>
|
74
|
+
|
75
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="167" y1="905.475" x2="167" y2="929.475"/>
|
76
|
+
|
77
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="167" y1="872.475" x2="167" y2="848.475"/>
|
78
|
+
</g>
|
79
|
+
<g>
|
80
|
+
|
81
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="127" y1="328.475" x2="127" y2="398.475"/>
|
82
|
+
|
83
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="161" y1="364.475" x2="92" y2="364.475"/>
|
84
|
+
|
85
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="109.181" cy="380.935" r="6.212"/>
|
86
|
+
|
87
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="109.181" cy="345.636" r="6.212"/>
|
88
|
+
|
89
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="144.479" cy="380.935" r="6.212"/>
|
90
|
+
|
91
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="144.479" cy="345.636" r="6.212"/>
|
92
|
+
</g>
|
93
|
+
</g>
|
94
|
+
</g>
|
95
|
+
</svg>
|
@@ -0,0 +1,145 @@
|
|
1
|
+
<svg version="1.1" id="proposals-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
2
|
+
y="0px" width="1080px" height="1080px" viewBox="0 0 1080 1080" enable-background="new 0 0 1080 1080" xml:space="preserve">
|
3
|
+
<g id="proposals" class="stroke-primary">
|
4
|
+
<g id="sleeve">
|
5
|
+
|
6
|
+
<rect class="fill-primary" id="_x32_5-pct_1_" x="419.5" y="798.5" fill="#31536E" fill-opacity="0.25" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" width="251" height="286"/>
|
7
|
+
<rect class="fill-primary" x="419.5" y="911.5" fill="#31536E" width="251" height="173"/>
|
8
|
+
<circle fill="#FFFFFF" stroke="#31536E" stroke-width="8" stroke-miterlimit="10" cx="615.667" cy="864.668" r="22.5"/>
|
9
|
+
<circle class="fill-primary" fill="#31536E" cx="615.5" cy="864.5" r="13"/>
|
10
|
+
</g>
|
11
|
+
<g>
|
12
|
+
<g id="hand">
|
13
|
+
|
14
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
15
|
+
M650.395,674.5c51.605,0,58.62-90.165,64.562-154.237"/>
|
16
|
+
|
17
|
+
<line fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="457.5" y1="798.5" x2="457.5" y2="667.689"/>
|
18
|
+
|
19
|
+
<line fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="646.5" y1="675.5" x2="646.5" y2="798.5"/>
|
20
|
+
|
21
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
22
|
+
M451.324,498.5c0,0,31.176-4,64.176-32s32-81-4-111c-22,12-156,79-156,79l0,0v74c0,17.992-2.5,41,1.577,65.972
|
23
|
+
C377.942,619.5,401.5,665,466.031,667.689"/>
|
24
|
+
|
25
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
26
|
+
M505.818,513.229c12.682,29.272,13.405,80.272,8.682,102.271"/>
|
27
|
+
|
28
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
29
|
+
M468.5,380.5v-14.282c0-28.564,17.923-51.718,42.5-51.718l0,0c24.577,0,44.5,23.154,44.5,51.718v95.564
|
30
|
+
c0,28.563-19.923,51.718-44.5,51.718l0,0c-17.737,0-25.049-1.979-32.199-19.428"/>
|
31
|
+
|
32
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
33
|
+
M548.052,337.583c7.849-8.05,19.034-13.083,31.448-13.083l0,0c23.748,0,43,18.419,43,41.141v94.719
|
34
|
+
c0,22.721-19.252,41.14-43,41.14l0,0c-11.874,0-22.624-4.605-30.406-12.05"/>
|
35
|
+
|
36
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
37
|
+
M621.341,356.167c6.171-4.207,13.628-6.667,21.659-6.667l0,0c21.263,0,38.5,17.237,38.5,38.5v81c0,21.263-17.237,38.5-38.5,38.5
|
38
|
+
l0,0c-13.871,0-26.029-7.336-32.807-18.34"/>
|
39
|
+
|
40
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
41
|
+
M681.973,386.233c4.827-4.194,9.131-6.733,16.027-6.733l0,0c15.188,0,27.5,12.312,27.5,27.5v89c0,15.188-12.312,27.5-27.5,27.5
|
42
|
+
l0,0c-15.188,0-27.5-12.312-27.5-27.5"/>
|
43
|
+
<path class="fill-primary" id="_x32_5-pct_2_" fill="#31536E" fill-opacity="0.25" d="M688,523.5c-15.188,0-27.5-12.312-27.5-27.5l0.008-0.075
|
44
|
+
C653.52,503.064,643.779,507.5,633,507.5c-13.871,0-26.028-7.336-32.807-18.339c-7.803,7.611-18.669,12.339-30.693,12.339
|
45
|
+
c-11.874,0-22.624-4.605-30.406-12.051l-0.006-0.91C531.29,503.501,517.15,513.5,501,513.5c-10.683,0-18.826-16-27.386-20.245
|
46
|
+
c-5.651-2.803-13.74,8.544-14.813,0.817l10,35C475.952,546.522,490.26,623.5,524,623.5c16.15,0,18.094-67.051,18.094-67.051
|
47
|
+
c7.782,7.445,8.532,23.051,20.406,23.051c12.024,0,29.891-47.728,37.693-55.339C606.972,535.164,619.129,542.5,633,542.5
|
48
|
+
c10.779,0,20.52-4.436,27.508-11.575L660.5,531c0,15.188,12.312,27.5,27.5,27.5s27.5-12.312,27.5-27.5v-35
|
49
|
+
C715.5,511.188,703.188,523.5,688,523.5z"/>
|
50
|
+
<path fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
51
|
+
M473.499,373.498c0,0,12.987,26.002,22.994,22.002s32.046-23.229,32.046-23.229"/>
|
52
|
+
|
53
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
54
|
+
M542.539,502.5c12.047,5.577,23.875,74.756,22.961,69"/>
|
55
|
+
</g>
|
56
|
+
</g>
|
57
|
+
|
58
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="638.5" y1="864.5" x2="648.5" y2="864.5"/>
|
59
|
+
|
60
|
+
<line fill="none" stroke="#31536E" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="580.5" y1="864.5" x2="593.5" y2="864.5"/>
|
61
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
62
|
+
M426.638,477.259"/>
|
63
|
+
<path fill="none" stroke="#31536E" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
64
|
+
M469.333,347.889V99.028c0-23.58-19.115-42.695-42.695-42.695l0,0c-23.58,0-42.696,19.115-42.696,42.695v320.536"/>
|
65
|
+
|
66
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-miterlimit="10" x1="404.098" y1="165.608" x2="447.455" y2="165.608"/>
|
67
|
+
|
68
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-miterlimit="10" x1="404.098" y1="269.608" x2="447.455" y2="269.608"/>
|
69
|
+
|
70
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-miterlimit="10" x1="404.098" y1="387.608" x2="447.455" y2="387.608"/>
|
71
|
+
<g id="stars_2" class="stars">
|
72
|
+
|
73
|
+
<path fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
74
|
+
M137.5,645.605c0-14.688-18.667-35.354-35.355-35.354c15.355,0,35.355-20.333,35.355-35.354c0,15.021,16.666,35.354,35.355,35.354
|
75
|
+
C153.833,610.251,137.5,630.918,137.5,645.605z"/>
|
76
|
+
<g>
|
77
|
+
|
78
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="1008.882" cy="708.662" r="13.5"/>
|
79
|
+
|
80
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="992.383" y1="691.927" x2="971.17" y2="670.714"/>
|
81
|
+
|
82
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="1026.324" y1="725.868" x2="1047.537" y2="747.081"/>
|
83
|
+
|
84
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="1025.617" y1="692.634" x2="1046.83" y2="671.421"/>
|
85
|
+
|
86
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="992.383" y1="725.868" x2="971.17" y2="747.081"/>
|
87
|
+
</g>
|
88
|
+
<g>
|
89
|
+
|
90
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="212.112" y1="161.345" x2="185.95" y2="187.508"/>
|
91
|
+
|
92
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="176.758" y1="196.701" x2="150.595" y2="222.864"/>
|
93
|
+
|
94
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="211.405" y1="222.864" x2="185.242" y2="196.701"/>
|
95
|
+
|
96
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="176.051" y1="187.508" x2="149.888" y2="161.345"/>
|
97
|
+
</g>
|
98
|
+
|
99
|
+
<path fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
|
100
|
+
M833.092,333.86c0,0-24.604,4.603-30.25,10.249c-5.646,5.646-10.248,30.249-10.248,30.249s-4.604-24.603-10.25-30.249
|
101
|
+
c-5.646-5.646-30.248-10.249-30.248-10.249s25.188-5.187,30.248-10.249c5.062-5.062,10.25-30.249,10.25-30.249
|
102
|
+
s4.604,24.603,10.248,30.249C808.488,329.257,833.092,333.86,833.092,333.86z"/>
|
103
|
+
<g>
|
104
|
+
|
105
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="978.834" cy="500.751" r="18.5"/>
|
106
|
+
|
107
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="938.834" cy="500.751" r="7.166"/>
|
108
|
+
|
109
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="978.834" cy="540.751" r="7.166"/>
|
110
|
+
|
111
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="1018.834" cy="500.751" r="7.166"/>
|
112
|
+
|
113
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="978.834" cy="460.751" r="7.166"/>
|
114
|
+
</g>
|
115
|
+
<g>
|
116
|
+
|
117
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="296.246" y1="682.224" x2="351.149" y2="737.129"/>
|
118
|
+
|
119
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="351.149" y1="682.224" x2="296.246" y2="737.129"/>
|
120
|
+
|
121
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="305.5" y1="709.251" x2="278.5" y2="709.251"/>
|
122
|
+
|
123
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="343.5" y1="709.251" x2="370.5" y2="709.251"/>
|
124
|
+
|
125
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="324.5" y1="728.251" x2="324.5" y2="755.251"/>
|
126
|
+
|
127
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="324.5" y1="690.251" x2="324.5" y2="663.251"/>
|
128
|
+
</g>
|
129
|
+
<g>
|
130
|
+
|
131
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="629.5" y1="122.251" x2="629.5" y2="201.251"/>
|
132
|
+
|
133
|
+
<line fill="none" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="668.5" y1="162.251" x2="589.5" y2="162.251"/>
|
134
|
+
|
135
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="609.5" cy="181.751" r="7.039"/>
|
136
|
+
|
137
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="609.5" cy="141.751" r="7.039"/>
|
138
|
+
|
139
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="649.5" cy="181.751" r="7.039"/>
|
140
|
+
|
141
|
+
<circle fill="#FFD92B" stroke="#31536E" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" cx="649.5" cy="141.751" r="7.039"/>
|
142
|
+
</g>
|
143
|
+
</g>
|
144
|
+
</g>
|
145
|
+
</svg>
|
@@ -2,7 +2,7 @@ $(() => {
|
|
2
2
|
window.DecidimProposals = window.DecidimProposals || {};
|
3
3
|
|
4
4
|
window.DecidimProposals.bindProposalAddress = () => {
|
5
|
-
const $checkbox = $("
|
5
|
+
const $checkbox = $("input:checkbox.has_address");
|
6
6
|
const $addressInput = $("#address_input");
|
7
7
|
|
8
8
|
if ($checkbox.length > 0) {
|
@@ -20,4 +20,3 @@ $(() => {
|
|
20
20
|
|
21
21
|
window.DecidimProposals.bindProposalAddress();
|
22
22
|
});
|
23
|
-
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "cell/partial"
|
4
|
+
|
5
|
+
module Decidim
|
6
|
+
module Proposals
|
7
|
+
# This cell renders the collaborative_draft card for an instance of a CollaborativeDraft
|
8
|
+
# the default size is the Medium Card (:m)
|
9
|
+
class CollaborativeDraftCell < Decidim::ViewModel
|
10
|
+
include CollaborativeDraftCellsHelper
|
11
|
+
include Cell::ViewModel::Partial
|
12
|
+
include Messaging::ConversationHelper
|
13
|
+
|
14
|
+
delegate :user_signed_in?, to: :parent_controller
|
15
|
+
|
16
|
+
def show
|
17
|
+
cell card_size, model, @options
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def current_user
|
23
|
+
context[:current_user]
|
24
|
+
end
|
25
|
+
|
26
|
+
def card_size
|
27
|
+
"decidim/proposals/collaborative_draft_m"
|
28
|
+
end
|
29
|
+
|
30
|
+
def resource_path
|
31
|
+
resource_locator(model).path
|
32
|
+
end
|
33
|
+
|
34
|
+
def current_participatory_space
|
35
|
+
model.component.participatory_space
|
36
|
+
end
|
37
|
+
|
38
|
+
def component_name
|
39
|
+
translated_attribute current_component.name
|
40
|
+
end
|
41
|
+
|
42
|
+
def component_type_name
|
43
|
+
model.class.model_name.human
|
44
|
+
end
|
45
|
+
|
46
|
+
def participatory_space_name
|
47
|
+
translated_attribute current_participatory_space.title
|
48
|
+
end
|
49
|
+
|
50
|
+
def participatory_space_type_name
|
51
|
+
translated_attribute current_participatory_space.model_name.human
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "cell/partial"
|
4
|
+
|
5
|
+
module Decidim
|
6
|
+
module Proposals
|
7
|
+
# This cell renders the link to the published proposal of a collaborative draft.
|
8
|
+
class CollaborativeDraftLinkToProposalCell < Decidim::ViewModel
|
9
|
+
def show
|
10
|
+
render if proposal
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def proposal
|
16
|
+
@proposal ||= model.linked_resources(:proposal, "created_from_collaborative_draft").first
|
17
|
+
end
|
18
|
+
|
19
|
+
def link_to_resource
|
20
|
+
link_to resource_locator(proposal).path, class: "button secondary light expanded button--sc mt-s" do
|
21
|
+
t("published_proposal", scope: "decidim.proposals.collaborative_drafts.show")
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def link_header
|
26
|
+
content_tag :strong, class: "text-large text-uppercase" do
|
27
|
+
t("final_proposal", scope: "decidim.proposals.collaborative_drafts.show")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def link_help_text
|
32
|
+
content_tag :span, class: "text-medium" do
|
33
|
+
t("final_proposal_help_text", scope: "decidim.proposals.collaborative_drafts.show")
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def link_to_versions
|
38
|
+
@path ||= decidim_proposals.collaborative_draft_versions_path(
|
39
|
+
collaborative_draft_id: model.id
|
40
|
+
)
|
41
|
+
link_to @path, class: "text-medium" do
|
42
|
+
content_tag :u do
|
43
|
+
t("version_history", scope: "decidim.proposals.collaborative_drafts.show")
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def decidim
|
49
|
+
Decidim::Core::Engine.routes.url_helpers
|
50
|
+
end
|
51
|
+
|
52
|
+
def decidim_proposals
|
53
|
+
Decidim::EngineRouter.main_proxy(model.component)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<div class="card__footer">
|
2
|
+
<div class="card__support">
|
3
|
+
<div class="card__support__data"></div>
|
4
|
+
<%= link_to t("decidim.proposals.collaborative_drafts.collaborative_draft.view_collaborative_draft"), resource_path, class: "card__button button small secondary" %>
|
5
|
+
</div>
|
6
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= render partial: "decidim/shared/tags.html", locals: { resource: model, tags_class_extra: "tags--proposal" } %>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "cell/partial"
|
4
|
+
|
5
|
+
module Decidim
|
6
|
+
module Proposals
|
7
|
+
# This cell renders a proposal with its M-size card.
|
8
|
+
class CollaborativeDraftMCell < Decidim::CardMCell
|
9
|
+
include CollaborativeDraftCellsHelper
|
10
|
+
|
11
|
+
def badge
|
12
|
+
render
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def has_state?
|
18
|
+
true
|
19
|
+
end
|
20
|
+
|
21
|
+
def description
|
22
|
+
truncate(model.body, length: 100)
|
23
|
+
end
|
24
|
+
|
25
|
+
def has_badge?
|
26
|
+
true
|
27
|
+
end
|
28
|
+
|
29
|
+
def badge_classes
|
30
|
+
return super unless options[:full_badge]
|
31
|
+
state_classes.concat(["label", "collaborative-draft-status"]).join(" ")
|
32
|
+
end
|
33
|
+
|
34
|
+
def statuses
|
35
|
+
[:creation_date, :follow, :comments_count]
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|