decidim-proposals 0.8.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +1 -1
  3. data/app/assets/config/decidim_proposals_manifest.css +3 -1
  4. data/app/assets/javascripts/decidim/proposals/add_proposal.js.es6 +0 -2
  5. data/app/assets/stylesheets/decidim/proposals/social_share.css.scss +8 -5
  6. data/app/commands/decidim/proposals/admin/answer_proposal.rb +32 -0
  7. data/app/commands/decidim/proposals/admin/create_proposal_note.rb +47 -0
  8. data/app/commands/decidim/proposals/create_proposal.rb +12 -0
  9. data/app/commands/decidim/proposals/withdraw_proposal.rb +37 -0
  10. data/app/controllers/decidim/proposals/admin/proposal_notes_controller.rb +40 -0
  11. data/app/controllers/decidim/proposals/admin/proposals_controller.rb +6 -2
  12. data/app/controllers/decidim/proposals/proposals_controller.rb +20 -5
  13. data/app/events/decidim/proposals/accepted_proposal_event.rb +9 -0
  14. data/app/events/decidim/proposals/create_proposal_event.rb +9 -0
  15. data/app/events/decidim/proposals/evaluating_proposal_event.rb +8 -0
  16. data/app/events/decidim/proposals/rejected_proposal_event.rb +9 -0
  17. data/app/forms/decidim/proposals/admin/proposal_form.rb +12 -12
  18. data/app/forms/decidim/proposals/admin/proposal_note_form.rb +16 -0
  19. data/app/forms/decidim/proposals/proposal_form.rb +11 -11
  20. data/app/helpers/decidim/proposals/application_helper.rb +2 -0
  21. data/app/models/decidim/proposals/abilities/admin_ability.rb +1 -0
  22. data/app/models/decidim/proposals/abilities/current_user_ability.rb +8 -0
  23. data/app/models/decidim/proposals/abilities/participatory_process_admin_ability.rb +1 -0
  24. data/app/models/decidim/proposals/proposal.rb +30 -9
  25. data/app/models/decidim/proposals/proposal_note.rb +13 -0
  26. data/app/presenters/decidim/proposals/official_author_presenter.rb +34 -0
  27. data/app/presenters/decidim/proposals/proposal_presenter.rb +20 -0
  28. data/app/services/decidim/proposals/proposal_search.rb +4 -2
  29. data/app/views/decidim/proposals/admin/proposal_answers/edit.html.erb +1 -0
  30. data/app/views/decidim/proposals/admin/proposal_notes/_form.html.erb +8 -0
  31. data/app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb +45 -0
  32. data/app/views/decidim/proposals/admin/proposal_notes/index.html.erb +3 -0
  33. data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
  34. data/app/views/decidim/proposals/admin/proposals/index.html.erb +60 -8
  35. data/app/views/decidim/proposals/admin/shared/_info_proposal.html.erb +20 -0
  36. data/app/views/decidim/proposals/proposals/_filters.html.erb +1 -1
  37. data/app/views/decidim/proposals/proposals/_linked_proposals.html.erb +11 -8
  38. data/app/views/decidim/proposals/proposals/_proposal.html.erb +5 -2
  39. data/app/views/decidim/proposals/proposals/_proposal_badge.html.erb +3 -0
  40. data/app/views/decidim/proposals/proposals/_vote_button.html.erb +3 -3
  41. data/app/views/decidim/proposals/proposals/edit.html.erb +2 -2
  42. data/app/views/decidim/proposals/proposals/index.html.erb +6 -2
  43. data/app/views/decidim/proposals/proposals/new.html.erb +2 -2
  44. data/app/views/decidim/proposals/proposals/show.html.erb +8 -4
  45. data/config/locales/ca.yml +46 -7
  46. data/config/locales/en.yml +46 -6
  47. data/config/locales/es.yml +46 -7
  48. data/config/locales/eu.yml +46 -7
  49. data/config/locales/fi.yml +58 -19
  50. data/config/locales/fr.yml +53 -14
  51. data/config/locales/gl.yml +231 -0
  52. data/config/locales/it.yml +46 -7
  53. data/config/locales/nl.yml +46 -7
  54. data/config/locales/pl.yml +46 -7
  55. data/config/locales/pt-BR.yml +231 -0
  56. data/config/locales/pt.yml +48 -9
  57. data/config/locales/ru.yml +7 -7
  58. data/config/locales/sv.yml +231 -0
  59. data/config/locales/uk.yml +7 -7
  60. data/db/migrate/20170215132030_add_reference_to_proposals.rb +5 -1
  61. data/db/migrate/20180111110204_create_decidim_proposal_notes.rb +15 -0
  62. data/db/migrate/20180115155220_add_index_created_at_proposal_notes.rb +7 -0
  63. data/lib/decidim/proposals/admin_engine.rb +1 -0
  64. data/lib/decidim/proposals/engine.rb +4 -0
  65. data/lib/decidim/proposals/feature.rb +21 -6
  66. data/lib/decidim/proposals/test/factories.rb +10 -0
  67. data/lib/decidim/proposals/version.rb +1 -1
  68. metadata +60 -27
  69. data/app/views/decidim/proposals/proposals/_author.html.erb +0 -23
@@ -29,7 +29,7 @@
29
29
  <% end %>
30
30
 
31
31
  <% if current_participatory_space.has_subscopes? %>
32
- <%= form.scopes_select :scope_id, legend_title: t(".scopes"), label: false, prompt: t('.scope_prompt'), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope, include_root: true), multiple: true %>
32
+ <%= scopes_picker_filter form, :scope_id %>
33
33
  <% end %>
34
34
 
35
35
  <% if current_feature.categories.any? %>
@@ -9,14 +9,17 @@
9
9
  <%= link_to resource_locator(proposal).path, class: "card__link" do %>
10
10
  <h5 class="card--list__heading"><%= proposal.title %></h5>
11
11
  <% end %>
12
- <div class="author">
13
- <span class="author__avatar">
14
- <%= image_tag proposal.author_avatar_url %>
15
- </span>
16
- <span class="author__name">
17
- <%= proposal.author_name %>
18
- </span>
19
- </div>
12
+ <% present(proposal) do |proposal| %>
13
+ <div class="author">
14
+ <span class="author__avatar">
15
+ <%= image_tag proposal.author.avatar_url %>
16
+ </span>
17
+ <span class="author__name">
18
+ <strong><%= proposal.author.name %></strong>
19
+ <%= proposal.author.nickname %>
20
+ </span>
21
+ </div>
22
+ <% end %>
20
23
  </div>
21
24
  </div>
22
25
  <div class="card--list__data">
@@ -6,9 +6,12 @@
6
6
  <h5 class="card__title"><%= proposal.title %></h5>
7
7
  <% end %>
8
8
  <div class="card__author author-data author-data--small">
9
- <%= render partial: "author", locals: { proposal: proposal } %>
9
+ <%= render partial: "decidim/shared/author_reference", locals: { author: present(proposal).author } %>
10
10
  </div>
11
- <%= feature_reference(proposal, class: "reference--text-left") %>
11
+ <div class="tech-info tech-info--text-left">
12
+ <%= t(".creation_date", date: l(proposal.created_at, format: :decidim_short)) %>
13
+ </div>
14
+ <%= feature_reference(proposal, class: "tech-info--text-left") %>
12
15
  </div>
13
16
  <%= render partial: "proposal_badge", locals: { proposal: proposal } %>
14
17
  <p><%= truncate(proposal.body, length: 100) %></p>
@@ -1,3 +1,6 @@
1
1
  <% if proposal.answered? %>
2
2
  <span class="<%= proposal_state_badge_css_class(proposal.state) %> label proposal-status"><%= humanize_proposal_state proposal.state %></span>
3
3
  <% end %>
4
+ <% if proposal.withdrawn? %>
5
+ <span class="<%= proposal_state_badge_css_class(proposal.state) %> label proposal-status"><%= humanize_proposal_state proposal.state %></span>
6
+ <% end %>
@@ -4,11 +4,11 @@
4
4
  <% if current_settings.votes_blocked? %>
5
5
  <%= action_authorized_button_to :vote, t('.votes_blocked'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), class: "card__button button #{vote_button_classes(from_proposals_list)} disabled", disabled: true %>
6
6
  <% else %>
7
- <%= action_authorized_button_to :vote, t('.vote'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), class: "card__button button #{vote_button_classes(from_proposals_list)}" %>
7
+ <%= action_authorized_button_to :vote, t('.vote'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), class: "card__button button #{vote_button_classes(from_proposals_list)}", data: { disable: true, "redirect-url": proposal_path(proposal) } %>
8
8
  <% end %>
9
9
  <% else %>
10
10
  <% if @voted_proposals ? @voted_proposals.include?(proposal.id) : proposal.voted_by?(current_user) %>
11
- <%= action_authorized_button_to :vote, t('.already_voted'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), method: :delete, remote: true, data: { disable: true, original: t('.already_voted'), replace: t('.already_voted_hover') }, class: "card__button button #{vote_button_classes(from_proposals_list)} success", id: "vote_button" %>
11
+ <%= action_authorized_button_to :vote, t('.already_voted'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), method: :delete, remote: true, data: { disable: true, original: t('.already_voted'), replace: t('.already_voted_hover'), "redirect-url": proposal_path(proposal) }, class: "card__button button #{vote_button_classes(from_proposals_list)} success", id: "vote_button" %>
12
12
  <% else %>
13
13
  <% if proposal.maximum_votes_reached? %>
14
14
  <%= content_tag :span, t('.maximum_votes_reached'), class: "card__button button #{vote_button_classes(from_proposals_list)} disabled", disabled: true %>
@@ -18,7 +18,7 @@
18
18
  <% elsif current_settings.votes_blocked? %>
19
19
  <%= content_tag :span, t('.votes_blocked'), class: "card__button button #{vote_button_classes(from_proposals_list)} disabled", disabled: true %>
20
20
  <% else %>
21
- <%= action_authorized_button_to :vote, t('.vote'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), remote: true, data: { disable: true }, class: "card__button button #{vote_button_classes(from_proposals_list)}" %>
21
+ <%= action_authorized_button_to :vote, t('.vote'), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), remote: true, data: { disable: true, "redirect-url": proposal_path(proposal) }, class: "card__button button #{vote_button_classes(from_proposals_list)}" %>
22
22
  <% end %>
23
23
  <% end %>
24
24
  <% end %>
@@ -40,7 +40,7 @@
40
40
 
41
41
  <% if current_participatory_space.has_subscopes? %>
42
42
  <div class="field">
43
- <%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %>
43
+ <%= scopes_picker_field form, :scope_id %>
44
44
  </div>
45
45
  <% end %>
46
46
 
@@ -51,7 +51,7 @@
51
51
  <% end %>
52
52
 
53
53
  <div class="actions">
54
- <%= form.submit t(".send"), class: "button expanded", "data-disable-with" => "#{t('.send')}..." %>
54
+ <%= form.submit t(".send"), class: "button expanded", data: { disable: true } %>
55
55
  </div>
56
56
  <% end %>
57
57
  </div>
@@ -34,7 +34,7 @@
34
34
  <%= render partial: "count" %>
35
35
  </h2>
36
36
  <% if current_settings.creation_enabled %>
37
- <%= action_authorized_link_to :create, new_proposal_path, class: "title-action__action button small hollow" do %>
37
+ <%= action_authorized_link_to :create, new_proposal_path, class: "title-action__action button small hollow", data: { "redirect_url" => new_proposal_path } do %>
38
38
  <%= t(".new_proposal") %>
39
39
  <%= icon "plus" %>
40
40
  <% end %>
@@ -57,6 +57,10 @@
57
57
  <%= render partial: "proposals" %>
58
58
  </div>
59
59
  </div>
60
-
60
+ <div class="row">
61
+ <div class="text-right">
62
+ <%= link_to t('.see_all_withdrawn'), proposals_path('filter[state]' => 'withdrawn') %>
63
+ </div>
64
+ </div>
61
65
  <%= javascript_include_tag("decidim/filters") %>
62
66
  <%= javascript_include_tag "decidim/orders" %>
@@ -46,7 +46,7 @@
46
46
 
47
47
  <% if current_participatory_space.has_subscopes? %>
48
48
  <div class="field">
49
- <%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %>
49
+ <%= scopes_picker_field form, :scope_id %>
50
50
  </div>
51
51
  <% end %>
52
52
 
@@ -72,7 +72,7 @@
72
72
  <% end %>
73
73
 
74
74
  <div class="actions">
75
- <%= form.submit t(".send"), class: "button expanded", "data-disable-with" => "#{t('.send')}..." %>
75
+ <%= form.submit t(".send"), class: "button expanded", data: { disable: true } %>
76
76
  </div>
77
77
  <% end %>
78
78
  </div>
@@ -8,17 +8,21 @@
8
8
  <div class="row column view-header">
9
9
  <h2 class="heading2"><%= @proposal.title %></h2>
10
10
  <div class="author-data">
11
- <%= render partial: "author", locals: { proposal: @proposal } %>
11
+ <%= render partial: "decidim/shared/author_reference", locals: { author: Decidim::Proposals::ProposalPresenter.new(@proposal).author } %>
12
12
  <div class="author-data__extra">
13
13
  <button type="button" data-open="<%= current_user.present? ? 'flagModal' : 'loginModal' %>" title="<%= t('.report') %>" aria-controls="<%= current_user.present? ? 'flagModal' : 'loginModal' %>" aria-haspopup="true" tabindex="0">
14
14
  <%= icon "flag", aria_label: t('.report'), class: 'icon--small' %>
15
15
  </button>
16
16
  <% unless @proposal.official? %>
17
- <%= link_to link_to_current_or_new_conversation_with(@proposal.author), title: t('.contact') do %>
18
- <%= icon "envelope-closed", aria_label: t('.contact'), class: 'icon--small' %>
19
- <% end %>
17
+ <%= link_to_current_or_new_conversation_with(@proposal.author) %>
20
18
  <% end %>
21
19
  </div>
20
+ <% if @proposal.withdrawable_by?(current_user) %>
21
+ <%= action_authorized_link_to :withdraw, withdraw_proposal_path(@proposal), method: :put, class: "title-action__action button small hollow", data: {confirm: t('.withdraw_confirmation')} do %>
22
+ <%= t('.withdraw_proposal') %>
23
+ <%= icon "x" %>
24
+ <% end %>
25
+ <% end %>
22
26
  </div>
23
27
  </div>
24
28
  <div class="row">
@@ -1,16 +1,38 @@
1
- ---
2
1
  ca:
3
2
  activemodel:
4
3
  attributes:
5
4
  proposal:
6
5
  body: Cos
7
6
  category_id: Categoria
7
+ has_address: Té adreça
8
8
  scope_id: Àmbit
9
9
  title: Títol
10
10
  user_group_id: Crear proposta
11
11
  proposal_answer:
12
12
  answer: Resposta
13
13
  decidim:
14
+ events:
15
+ proposals:
16
+ proposal_accepted:
17
+ email_intro: 'S''ha acceptat la proposta "%{resource_title}". Pots llegir la resposta des d''aquesta pàgina:'
18
+ email_outro: Has rebut aquesta notificació perquè que segueixes "%{resource_title}". El pots deixar de seguir al link anterior.
19
+ email_subject: Una proposta que segueixes ha estat acceptada
20
+ notification_title: S'ha acceptat la proposta <a href="%{resource_path}">%{resource_title}</a>.
21
+ proposal_created:
22
+ email_intro: "%{author_name} %{author_nickname}, a qui segueixes, ha creat una nova proposta. Revisa-la i contribueix:"
23
+ email_outro: Has rebut aquesta notificació perquè estàs seguint %{author_nickname}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
24
+ email_subject: Nova proposta de %{author_nickname}
25
+ notification_title: La proposta "<a href="%{resource_path}">%{resource_title}</a>" ha estat creada per en/na <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
26
+ proposal_evaluating:
27
+ email_intro: 'La proposta "%{resource_title}" s''està avaluant actualment. Pots consultar una resposta en aquesta pàgina:'
28
+ email_outro: Has rebut aquesta notificació perquè que segueixes "%{resource_title}". El pots deixar de seguir al link anterior.
29
+ email_subject: S'està avaluant una proposta que segueixes
30
+ notification_title: S'ha avaluat la proposta <a href="%{resource_path}">%{resource_title}</a>.
31
+ proposal_rejected:
32
+ email_intro: 'La proposta "%{resource_title}" ha estat rebutjada. Pots llegir la resposta des d''aquesta pàgina:'
33
+ email_outro: Has rebut aquesta notificació perquè que segueixes "%{resource_title}". El pots deixar de seguir al link anterior.
34
+ email_subject: S'ha rebutjat una proposta que segueixes
35
+ notification_title: S'ha rebutjat la proposta <a href="%{resource_path}">%{resource_title}</a>.
14
36
  features:
15
37
  proposals:
16
38
  actions:
@@ -42,6 +64,7 @@ ca:
42
64
  actions:
43
65
  answer: Respondre
44
66
  new: Nova
67
+ private_notes: Notes privades
45
68
  title: Accions
46
69
  admin:
47
70
  actions:
@@ -59,6 +82,12 @@ ca:
59
82
  evaluating: En avaluació
60
83
  rejected: Rebutjada
61
84
  title: Respondre a la proposta %{title}
85
+ proposal_notes:
86
+ form:
87
+ note: Nota
88
+ submit: Enviar
89
+ leave_your_note: Deixa la teva nota
90
+ title: Notes privades
62
91
  proposals:
63
92
  answer:
64
93
  invalid: Hi ha hagut un problema en respondre a aquesta proposta
@@ -74,11 +103,18 @@ ca:
74
103
  new:
75
104
  create: Crear
76
105
  title: Crear proposta
106
+ shared:
107
+ info_proposal:
108
+ body: Cos
109
+ created_at: Data de creació
110
+ proposal_votes_count: Nombre de suports
111
+ proposals: Propostes
77
112
  answers:
78
113
  accepted: Acceptada
79
114
  evaluating: En avaluació
80
115
  not_answered: No resposta
81
116
  rejected: Rebutjada
117
+ withdrawn: Retirada
82
118
  create:
83
119
  error: Hi ha hagut errors en desar la proposta.
84
120
  success: Proposta creada correctament.
@@ -86,7 +122,10 @@ ca:
86
122
  proposal:
87
123
  fields:
88
124
  category: Categoria
125
+ comments: Comentaris
126
+ created_at: Creat el
89
127
  id: ID
128
+ notes: Notes
90
129
  official_proposal: Proposta oficial
91
130
  scope: Àmbit
92
131
  state: Estat
@@ -98,9 +137,6 @@ ca:
98
137
  create:
99
138
  error: Hi ha hagut errors en donar suport a la proposta.
100
139
  proposals:
101
- author:
102
- deleted: Usuari eliminat
103
- verified_user_group: Organització verificada
104
140
  count:
105
141
  proposals_count:
106
142
  one: 1 proposta
@@ -122,8 +158,6 @@ ca:
122
158
  origin: Origen
123
159
  rejected: Rebutjades
124
160
  related_to: Relacionat amb
125
- scope_prompt: Seleccioneu un àmbit
126
- scopes: Àmbits
127
161
  search: Cerca
128
162
  state: Estat
129
163
  voted: Has donat suport
@@ -134,6 +168,7 @@ ca:
134
168
  unfold: Desplegar
135
169
  index:
136
170
  new_proposal: Nova proposta
171
+ see_all_withdrawn: Veure totes les propostes retirades
137
172
  view_proposal: Veure proposta
138
173
  linked_proposals:
139
174
  proposal_votes:
@@ -154,14 +189,16 @@ ca:
154
189
  random: Aleatori
155
190
  recent: Recent
156
191
  proposal:
192
+ creation_date: 'Creació: %{date}'
157
193
  view_proposal: Veure proposta
158
194
  show:
159
- contact: Contactar
160
195
  edit_proposal: Editar proposta
161
196
  proposal_accepted_reason: 'Aquesta proposta ha estat acceptada perquè:'
162
197
  proposal_in_evaluation_reason: S'està avaluant aquesta proposta
163
198
  proposal_rejected_reason: 'Aquesta proposta ha estat rebutjada perquè:'
164
199
  report: Informe
200
+ withdraw_confirmation: Estàs segur que vols retirar aquesta proposta?
201
+ withdraw_proposal: Retirar proposta
165
202
  vote_button:
166
203
  already_voted: Ja li has donat suport
167
204
  already_voted_hover: Retirar suport
@@ -187,6 +224,8 @@ ca:
187
224
  error: Hi ha hagut errors en desar la proposta.
188
225
  success: La proposta s'ha actualitzat correctament.
189
226
  resource_links:
227
+ included_projects:
228
+ project_results: 'Resultats que apareixen en aquest projecte:'
190
229
  included_proposals:
191
230
  proposal_projects: 'Proposta formulada en aquests projectes:'
192
231
  proposal_results: 'La proposta apareix en aquests resultats:'
@@ -5,12 +5,35 @@ en:
5
5
  proposal:
6
6
  body: Body
7
7
  category_id: Category
8
+ has_address: Has address
8
9
  scope_id: Scope
9
10
  title: Title
10
11
  user_group_id: Create proposal as
11
12
  proposal_answer:
12
13
  answer: Answer
13
14
  decidim:
15
+ events:
16
+ proposals:
17
+ proposal_accepted:
18
+ email_intro: 'The proposal "%{resource_title}" has been accepted. You can read the answer in this page:'
19
+ email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
20
+ email_subject: A proposal you're following has been accepted
21
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> proposal has been accepted.
22
+ proposal_created:
23
+ email_intro: "%{author_name} %{author_nickname}, who you are following, has created a new proposal, check it out and contribute:"
24
+ email_outro: You have received this notification because you are following %{author_nickname}. You can stop receiving notifications following the previous link.
25
+ email_subject: New proposal by %{author_nickname}
26
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> proposal was created by <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
27
+ proposal_evaluating:
28
+ email_intro: 'The proposal "%{resource_title}" is currently being evaluated. You can check for an answer in this page:'
29
+ email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
30
+ email_subject: A proposal you're following is being evaluated
31
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> proposal is being evaluated.
32
+ proposal_rejected:
33
+ email_intro: 'The proposal "%{resource_title}" has been rejected. You can read the answer in this page:'
34
+ email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
35
+ email_subject: A proposal you're following has been rejected
36
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> proposal has been rejected.
14
37
  features:
15
38
  proposals:
16
39
  actions:
@@ -42,6 +65,7 @@ en:
42
65
  actions:
43
66
  answer: Answer
44
67
  new: New
68
+ private_notes: Private notes
45
69
  title: Actions
46
70
  admin:
47
71
  actions:
@@ -59,6 +83,12 @@ en:
59
83
  evaluating: Evaluating
60
84
  rejected: Rejected
61
85
  title: Answer for proposal %{title}
86
+ proposal_notes:
87
+ form:
88
+ note: Note
89
+ submit: Submit
90
+ leave_your_note: Leave your note
91
+ title: Private notes
62
92
  proposals:
63
93
  answer:
64
94
  invalid: There's been a problem answering this proposal
@@ -74,11 +104,18 @@ en:
74
104
  new:
75
105
  create: Create
76
106
  title: Create proposal
107
+ shared:
108
+ info_proposal:
109
+ body: Body
110
+ created_at: Creation date
111
+ proposal_votes_count: Votes count
112
+ proposals: Proposals
77
113
  answers:
78
114
  accepted: Accepted
79
115
  evaluating: Evaluating
80
116
  not_answered: Not answered
81
117
  rejected: Rejected
118
+ withdrawn: Withdrawn
82
119
  create:
83
120
  error: There's been errors when saving the proposal.
84
121
  success: Proposal created successfully.
@@ -86,7 +123,10 @@ en:
86
123
  proposal:
87
124
  fields:
88
125
  category: Category
126
+ comments: Comments
127
+ created_at: Created at
89
128
  id: ID
129
+ notes: Notes
90
130
  official_proposal: Official proposal
91
131
  scope: Scope
92
132
  state: State
@@ -98,9 +138,6 @@ en:
98
138
  create:
99
139
  error: There's been errors when voting the proposal.
100
140
  proposals:
101
- author:
102
- deleted: Deleted user
103
- verified_user_group: Verified organization
104
141
  count:
105
142
  proposals_count:
106
143
  one: 1 proposal
@@ -122,8 +159,6 @@ en:
122
159
  origin: Origin
123
160
  rejected: Rejected
124
161
  related_to: Related to
125
- scope_prompt: Select a scope
126
- scopes: Scopes
127
162
  search: Search
128
163
  state: State
129
164
  voted: Voted
@@ -134,6 +169,7 @@ en:
134
169
  unfold: Unfold
135
170
  index:
136
171
  new_proposal: New proposal
172
+ see_all_withdrawn: See all withdrawn proposals
137
173
  view_proposal: View proposal
138
174
  linked_proposals:
139
175
  proposal_votes:
@@ -154,14 +190,16 @@ en:
154
190
  random: Random
155
191
  recent: Recent
156
192
  proposal:
193
+ creation_date: 'Creation: %{date}'
157
194
  view_proposal: View proposal
158
195
  show:
159
- contact: Contact
160
196
  edit_proposal: Edit proposal
161
197
  proposal_accepted_reason: 'This proposal has been accepted because:'
162
198
  proposal_in_evaluation_reason: This proposal is being evaluated
163
199
  proposal_rejected_reason: 'This proposal has been rejected because:'
164
200
  report: Report
201
+ withdraw_confirmation: Are you sure to withdraw this proposal?
202
+ withdraw_proposal: Withdraw proposal
165
203
  vote_button:
166
204
  already_voted: Already voted
167
205
  already_voted_hover: Unvote
@@ -187,6 +225,8 @@ en:
187
225
  error: There's been errors when saving the proposal.
188
226
  success: Proposal updated successfully.
189
227
  resource_links:
228
+ included_projects:
229
+ project_results: 'Results appearing in this project:'
190
230
  included_proposals:
191
231
  proposal_projects: 'Proposal appearing in these projects:'
192
232
  proposal_results: 'Proposal appearing in these results:'