diff --git a/app/assets/stylesheets/proposal.scss b/app/assets/stylesheets/proposal.scss index f53b9a0d7..6ca80a791 100644 --- a/app/assets/stylesheets/proposal.scss +++ b/app/assets/stylesheets/proposal.scss @@ -9,3 +9,10 @@ align-items: center; } } + +.proposal-created { + margin-bottom: 1.5rem; + .row { + background-color: #e7f3fd; + } +} diff --git a/app/views/proposals/_preview.html.erb b/app/views/proposals/_preview.html.erb index 7769bddcf..76f053cb0 100644 --- a/app/views/proposals/_preview.html.erb +++ b/app/views/proposals/_preview.html.erb @@ -123,66 +123,68 @@ - + <% end %> <% end %> diff --git a/app/views/proposals/created.html.erb b/app/views/proposals/created.html.erb index 79384727f..8be7f8714 100644 --- a/app/views/proposals/created.html.erb +++ b/app/views/proposals/created.html.erb @@ -11,4 +11,10 @@ +
+
+

<%= t('.preview_title') %>

+
+
+ <%= render 'preview', preview: true %> diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index 9d1d7f4f1..28a2d8551 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -320,11 +320,13 @@ en: boost your proposal.

- Do you think you need help to achieve this goal? If so, leave your proposal - as a draft and we will guide you. + Do you think you need help to achieve this goal? +
+ If so, leave your proposal as a draft and we will guide you.

publish: No, I want to publish the proposal dashboard: Yes, I want help and I'll publish later + preview_title: This is how your proposal will look when you publish it share: improve_it: Improve your campaign and get more support. dashboard: See more information diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index c6ba9bb35..5ac4f1b1c 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -320,11 +320,13 @@ es: impulsar tu propuesta.

- ¿Crees que necesitas ayuda para alcanzar esta meta? Si es así, deja tu propuesta - como borrador y te guiaremos. + ¿Crees que necesitas ayuda para alcanzar esta meta? +
+ Si es así, deja tu propuesta como borrador y te guiaremos.

publish: No, quiero publicar la propuesta ya dashboard: Si, quiero ayuda y publicaré mas tarde + preview_title: Así es como quedará tu propuesta cuando la publiques share: improve_it: Mejora tu campaña y consigue mas apoyos. dashboard: Ver mas información