diff --git a/app/views/moderation/budgets/investments/index.html.erb b/app/views/moderation/budgets/investments/index.html.erb index 3335ec5cd..d9c636d63 100644 --- a/app/views/moderation/budgets/investments/index.html.erb +++ b/app/views/moderation/budgets/investments/index.html.erb @@ -9,7 +9,7 @@ <%= form_tag moderate_moderation_budget_investments_path(request.query_parameters), method: :put do %> -

+

<%= t("shared.check") %>: <%= link_to t("shared.check_all"), "#", data: { check_all: "budget_investment_ids[]" } %> | @@ -17,60 +17,55 @@

- - - - - <% @budget_investments.each do |investment| %> - - - + + + + - <% end %> + + + + <% @budget_investments.each do |investment| %> + + + + + <% end %> +
- <%= t("moderation.budget_investments.index.headers.budget_investment") %> - - <%= t("moderation.budget_investments.index.headers.moderate") %> -
- <%= link_to investment.title, admin_budget_budget_investment_path( - budget_id: investment.budget_id, - id: investment.id - ), target: "_blank" %> -
- <%= l investment.updated_at.to_date %> -  •  - <%= investment.flags_count %> -  •  - <%= investment.author.username %> -
-
- <%= investment.description %> -
-
- <%= check_box_tag "budget_investment_ids[]", investment.id, nil, id: "#{dom_id(investment)}_check" %> -
<%= t("moderation.budget_investments.index.headers.budget_investment") %><%= t("moderation.budget_investments.index.headers.moderate") %>
+ <%= link_to investment.title, admin_budget_budget_investment_path( + budget_id: investment.budget_id, + id: investment.id + ), target: "_blank" %> +
+ <%= l investment.updated_at.to_date %> +  •  + <%= investment.flags_count %> +  •  + <%= investment.author.username %> +
+
+ <%= investment.description %> +
+
+ <%= check_box_tag "budget_investment_ids[]", investment.id, nil, id: "#{dom_id(investment)}_check" %> +
<%= submit_tag t("moderation.budget_investments.index.block_authors"), name: "block_authors", class: "button hollow alert", - data: { - confirm: t("moderation.budget_investments.index.confirm") - } %> + data: { confirm: t("moderation.budget_investments.index.confirm") } %>
<%= submit_tag t("moderation.budget_investments.index.hide_budget_investments"), name: "hide_budget_investments", class: "button hollow alert", - data: { - confirm: t("moderation.budget_investments.index.confirm") - } %> + data: { confirm: t("moderation.budget_investments.index.confirm") } %> <%= submit_tag t("moderation.budget_investments.index.ignore_flags"), name: "ignore_flags", class: "button hollow", - data: { - confirm: t("moderation.budget_investments.index.confirm") - } %> + data: { confirm: t("moderation.budget_investments.index.confirm") } %>
<%= paginate @budget_investments %>