diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index d8763591a..b49c5d17d 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -21,6 +21,7 @@ // 19. Recommended Section Home // 20. Documents // 21. Related content +// 22. Images // // 01. Global styles @@ -2445,3 +2446,10 @@ table { margin-top: $line-height / 2; } } + +// 22. Images +// ----------------- + +.images .button { + margin-top: $line-height / 2; +} \ No newline at end of file diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index b7d0510b5..38eaf7d91 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -482,6 +482,10 @@ .icon-video { color: #cc181e; } + + p { + margin-bottom: 0; + } } .supports { diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb index 8bc09f050..81b25e5e0 100644 --- a/app/views/account/show.html.erb +++ b/app/views/account/show.html.erb @@ -14,7 +14,7 @@ <%= render "shared/errors", resource: @account %>
-
+

<%= t("account.show.personal")%>

@@ -112,10 +112,10 @@
<% end %> - <%= f.submit t("account.show.save_changes_submit"), class: "button" %> + <%= f.submit t("account.show.save_changes_submit"), class: "button margin-top" %>
-
+

<%= t("account.show.user_permission_title") %>

<%= t("account.show.user_permission_info") %>

@@ -143,7 +143,8 @@

<%= t("account.show.user_permission_verify_info") %> -
+

+

<%= t("account.show.user_permission_verify") %>

diff --git a/app/views/admin/budget_investment_milestones/_form.html.erb b/app/views/admin/budget_investment_milestones/_form.html.erb index 6a39394d7..2b2af4b50 100644 --- a/app/views/admin/budget_investment_milestones/_form.html.erb +++ b/app/views/admin/budget_investment_milestones/_form.html.erb @@ -2,13 +2,14 @@ <%= f.hidden_field :title, value: l(Time.current, format: :datetime), maxlength: Budget::Investment::Milestone.title_max_length %> <%= f.text_area :description, rows: 5 %> + <%= f.label :publication_date, t("admin.milestones.new.date") %> <%= f.text_field :publication_date, value: @milestone.publication_date.present? ? l(@milestone.publication_date.to_date) : nil, + label: false, class: "js-calendar-full" %> <%= render 'images/admin_image', imageable: @milestone, f: f %> -
<%= render 'documents/nested_documents', documentable: @milestone, f: f %>
diff --git a/app/views/admin/budget_investments/_milestones.html.erb b/app/views/admin/budget_investments/_milestones.html.erb index 6f30f8ad2..b62065f42 100644 --- a/app/views/admin/budget_investments/_milestones.html.erb +++ b/app/views/admin/budget_investments/_milestones.html.erb @@ -14,17 +14,17 @@ <% @investment.milestones.each do |milestone| %> - <%= milestone.id %> + <%= milestone.id %> <%= link_to milestone.title, edit_admin_budget_budget_investment_budget_investment_milestone_path(@investment.budget, @investment, milestone) %> - <%= milestone.description %> - <% if milestone.publication_date.present? %> - <%= l(milestone.publication_date.to_date) %> - <% end %> + <%= milestone.description %> + + <%= l(milestone.publication_date.to_date) if milestone.publication_date.present? %> + <%= link_to t("admin.milestones.index.show_image"), milestone.image_url(:large), @@ -40,7 +40,7 @@ <% end %> <% end %> - + <%= link_to t("admin.milestones.index.delete"), admin_budget_budget_investment_budget_investment_milestone_path(@investment.budget, @investment, diff --git a/app/views/admin/budget_investments/show.html.erb b/app/views/admin/budget_investments/show.html.erb index 5fa35a1fa..8fd285c2e 100644 --- a/app/views/admin/budget_investments/show.html.erb +++ b/app/views/admin/budget_investments/show.html.erb @@ -54,5 +54,7 @@ <%= render 'admin/budget_investments/milestones' %>

- <%= link_to t("admin.budget_investments.show.new_milestone"), new_admin_budget_budget_investment_budget_investment_milestone_path(@budget, @investment) %> + <%= link_to t("admin.budget_investments.show.new_milestone"), + new_admin_budget_budget_investment_budget_investment_milestone_path(@budget, @investment), + class: "button hollow" %>

diff --git a/app/views/admin/poll/polls/_form.html.erb b/app/views/admin/poll/polls/_form.html.erb index c0439af7b..e802d1217 100644 --- a/app/views/admin/poll/polls/_form.html.erb +++ b/app/views/admin/poll/polls/_form.html.erb @@ -32,7 +32,9 @@
- <%= render 'images/admin_image', imageable: @poll, f: f %> +
+ <%= render 'images/admin_image', imageable: @poll, f: f %> +
diff --git a/app/views/budgets/investments/_milestones.html.erb b/app/views/budgets/investments/_milestones.html.erb index f5e3d8d5e..9e0f215c3 100644 --- a/app/views/budgets/investments/_milestones.html.erb +++ b/app/views/budgets/investments/_milestones.html.erb @@ -23,7 +23,7 @@