adds link to explanation
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<h1><%= @proposal.title %></h1>
|
<h1><%= @proposal.title %></h1>
|
||||||
<% if @proposal.retired? %>
|
<% if @proposal.retired? %>
|
||||||
<div data-alert class="callout alert margin-top">
|
<div data-alert class="callout alert margin-top">
|
||||||
<strong><%= t("proposals.show.retired_warning") %></strong>
|
<strong><%= t("proposals.show.retired_warning") %> <%= link_to t("proposals.show.retired_warning_link_to_explanation"), "#retired_explanation" %></strong>
|
||||||
</div>
|
</div>
|
||||||
<% elsif @proposal.conflictive? %>
|
<% elsif @proposal.conflictive? %>
|
||||||
<div data-alert class="callout alert margin-top">
|
<div data-alert class="callout alert margin-top">
|
||||||
@@ -79,6 +79,7 @@
|
|||||||
<h4><%= @proposal.question %></h4>
|
<h4><%= @proposal.question %></h4>
|
||||||
|
|
||||||
<% if @proposal.retired? %>
|
<% if @proposal.retired? %>
|
||||||
|
<a id="retired_explanation"></a>
|
||||||
<h2><%= t('proposals.show.retired') %>: <%= t("proposals.retire_options.#{@proposal.retired_reason}") unless @proposal.retired_reason == 'other' %></h2>
|
<h2><%= t('proposals.show.retired') %>: <%= t("proposals.retire_options.#{@proposal.retired_reason}") unless @proposal.retired_reason == 'other' %></h2>
|
||||||
<%= simple_format text_with_links(@proposal.retired_explanation), {}, sanitize: false %>
|
<%= simple_format text_with_links(@proposal.retired_explanation), {}, sanitize: false %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -358,7 +358,8 @@ en:
|
|||||||
edit_proposal_link: Edit
|
edit_proposal_link: Edit
|
||||||
flag: This proposal has been flagged as inappropriate by several users.
|
flag: This proposal has been flagged as inappropriate by several users.
|
||||||
login_to_comment: You must %{signin} or %{signup} to leave a comment.
|
login_to_comment: You must %{signin} or %{signup} to leave a comment.
|
||||||
retired_warning: "The author considers this proposal should not receive more supports. check the explanation before voting for it."
|
retired_warning: "The author considers this proposal should not receive more supports."
|
||||||
|
retired_warning_link_to_explanation: Read the explanation before voting for it.
|
||||||
retired: Proposal retired by the author
|
retired: Proposal retired by the author
|
||||||
share: Share
|
share: Share
|
||||||
update:
|
update:
|
||||||
|
|||||||
@@ -358,7 +358,8 @@ es:
|
|||||||
edit_proposal_link: Editar propuesta
|
edit_proposal_link: Editar propuesta
|
||||||
flag: Esta propuesta ha sido marcada como inapropiada por varios usuarios.
|
flag: Esta propuesta ha sido marcada como inapropiada por varios usuarios.
|
||||||
login_to_comment: Necesitas %{signin} o %{signup} para comentar.
|
login_to_comment: Necesitas %{signin} o %{signup} para comentar.
|
||||||
retired_warning: "El autor de esta propuesta considera que ya no debe seguir recogiendo apoyos. Revisa su explicación antes de apoyarla."
|
retired_warning: "El autor de esta propuesta considera que ya no debe seguir recogiendo apoyos."
|
||||||
|
retired_warning_link_to_explanation: Revisa su explicación antes de apoyarla.
|
||||||
retired: Propuesta retirada por el autor
|
retired: Propuesta retirada por el autor
|
||||||
share: Compartir
|
share: Compartir
|
||||||
update:
|
update:
|
||||||
|
|||||||
Reference in New Issue
Block a user