From: Aidan Cornelius-Bell Date: Tue, 8 Oct 2024 08:13:49 +0000 (+1030) Subject: Added resync from buttondown. Testing in prod like a pro X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=8eca9288ba40ebf7df9df3d3cf1a3b9fcb1963b1;p=arelpe.git Added resync from buttondown. Testing in prod like a pro --- diff --git a/app/views/mailing_lists/index.html.erb b/app/views/mailing_lists/index.html.erb index 419c236..99f1882 100644 --- a/app/views/mailing_lists/index.html.erb +++ b/app/views/mailing_lists/index.html.erb @@ -16,16 +16,14 @@ <% end %> <%= button_to "Unsubscribe", unsubscribe_mailing_lists_path, method: :delete, class: "button danger", data: { confirm: "Are you sure you want to unsubscribe?" } %> - - <%= button_to "Resync from Buttondown", resync_from_buttondown_mailing_lists_path, method: :post, class: "button" %> <% end %> <% if @is_paid_user && @buttondown_status != 'gifted' %>

Your account is marked as a paid user, but your mailing list status is not synced. Click below to sync your status:

<%= button_to "Sync Subscription Status", sync_status_mailing_lists_path, method: :post, class: "button" %> - <%= button_to "Resync from Buttondown", resync_from_buttondown_mailing_lists_path, method: :post, class: "button" %> <% end %> + <%= button_to "Resync from Buttondown", resync_from_buttondown_mailing_lists_path, method: :post, class: "button" %> <% end %>