diff --git a/app/views/lottery_entrants/_lottery_entrant_with_tickets.html.erb b/app/views/lottery_entrants/_lottery_entrant_with_tickets.html.erb index 7c6587e09..d4bbad029 100644 --- a/app/views/lottery_entrants/_lottery_entrant_with_tickets.html.erb +++ b/app/views/lottery_entrants/_lottery_entrant_with_tickets.html.erb @@ -24,12 +24,10 @@ <% end %>
- <% if current_user&.admin? %> - <%= link_to "Manage service", - organization_lottery_entrant_service_detail_path(presenter.organization, presenter.lottery, presenter), - data: { turbo: false }, - class: "btn btn-outline-success" %> - <% end %> + <%= link_to "Manage service", + organization_lottery_entrant_service_detail_path(presenter.organization, presenter.lottery, presenter), + data: { turbo: false }, + class: "btn btn-outline-success" %>
<% end %> @@ -38,6 +36,7 @@
<%= render partial: "ticket_calculations_table", locals: { presenter: presenter } %> <% end %> + <% if presenter.relevant_historical_facts.any? %>
<%= render partial: "historical_facts_table", locals: { presenter: presenter } %>