diff --git a/app/views/bubbles/_pop_toggle.html.erb b/app/views/bubbles/_pop_toggle.html.erb index 46ab09cfd..420aa1367 100644 --- a/app/views/bubbles/_pop_toggle.html.erb +++ b/app/views/bubbles/_pop_toggle.html.erb @@ -1,11 +1,7 @@
<% if bubble.popped? %> <% event = bubble.events.where(action: "popped").last %> - <% if event %> - Popped by <%= event.creator.name %> on <%= event.created_at.to_date.strftime('%B %-d') %>. - <% else %> - Popped - <% end %> + Popped by <%= "#{ event.creator.name } on #{ event.created_at.to_date.strftime('%B %-d') }" if event %>. <%= button_to bucket_bubble_pop_path(bubble.bucket, bubble), method: :delete, class: "btn btn--plain borderless fill-transparent" do %> Un-pop <% end %>