]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
Added resync from buttondown. Testing in prod like a pro
authorAidan Cornelius-Bell <[email protected]>
Tue, 8 Oct 2024 08:13:49 +0000 (18:43 +1030)
committerAidan Cornelius-Bell <[email protected]>
Tue, 8 Oct 2024 08:13:49 +0000 (18:43 +1030)
app/views/mailing_lists/index.html.erb

index 419c2362faa23fca145ecb47e252c0613c1f12d4..99f1882dd6a528f7d67c473e88c1c89c2df48b69 100644 (file)
   <% 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' %>
   <p>Your account is marked as a paid user, but your mailing list status is not synced. Click below to sync your status:</p>
   <%= 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 %>