diff --git a/app/services/concerns/decidim/privacy/order_reminder_generator_extensions.rb b/app/services/concerns/decidim/privacy/order_reminder_generator_extensions.rb index da1da03..34f1495 100644 --- a/app/services/concerns/decidim/privacy/order_reminder_generator_extensions.rb +++ b/app/services/concerns/decidim/privacy/order_reminder_generator_extensions.rb @@ -10,12 +10,12 @@ module OrderReminderGeneratorExtensions # Overridden in order to include all users, not only published accounts. def send_reminders(component) - budgets = Decidim::Budgets::Budget.where(component: component) + budgets = Decidim::Budgets::Budget.where(component:) pending_orders = Decidim::Budgets::Order.where(budget: budgets, checked_out_at: nil) users = Decidim::User.entire_collection.where(id: pending_orders.pluck(:decidim_user_id).uniq) users.each do |user| - reminder = Decidim::Reminder.find_or_create_by(user: user, component: component) - users_pending_orders = pending_orders.where(user: user) + reminder = Decidim::Reminder.find_or_create_by(user:, component:) + users_pending_orders = pending_orders.where(user:) update_reminder_records(reminder, users_pending_orders) if reminder.records.active.any? Decidim::Budgets::SendVoteReminderJob.perform_later(reminder) diff --git a/app/views/decidim/initiatives/initiatives/_author.html.erb b/app/views/decidim/initiatives/initiatives/_author.html.erb deleted file mode 100644 index 424b583..0000000 --- a/app/views/decidim/initiatives/initiatives/_author.html.erb +++ /dev/null @@ -1,35 +0,0 @@ -
diff --git a/app/views/decidim/initiatives/initiatives/_committee_members.html.erb b/app/views/decidim/initiatives/initiatives/_committee_members.html.erb index e2589e8..2530a83 100644 --- a/app/views/decidim/initiatives/initiatives/_committee_members.html.erb +++ b/app/views/decidim/initiatives/initiatives/_committee_members.html.erb @@ -1,73 +1,56 @@ -