Skip to content

Commit

Permalink
Merge pull request #1335 from SplitTime/oveson/remove-last-admin-cond…
Browse files Browse the repository at this point in the history
…itional-from-lottery-entrant-with-tickets

Remove admin conditional from lottery entrant with tickets
  • Loading branch information
moveson authored Dec 17, 2024
2 parents d69204e + 3e5c736 commit 7b5532b
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@
<% end %>
</div>
<div class="col text-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" %>
</div>
</div>
<% end %>
Expand All @@ -38,6 +36,7 @@
<hr/>
<%= render partial: "ticket_calculations_table", locals: { presenter: presenter } %>
<% end %>

<% if presenter.relevant_historical_facts.any? %>
<hr/>
<%= render partial: "historical_facts_table", locals: { presenter: presenter } %>
Expand Down

0 comments on commit 7b5532b

Please sign in to comment.