Skip to content

Commit

Permalink
Fix link in Results/Reports nag email (#10748)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg authored Feb 3, 2025
1 parent e4fac65 commit a64e654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/competitions_mailer/submit_report_nag.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Senior Delegate: You can view the <%= "history".pluralize(@competition.delegates.count) %> of the <%= "Delegate".pluralize(@competition.delegates.count) %> here:
<ul>
<% @competition.delegates.each do |delegate| %>
<li><%= link_to "#{delegate.name}", competitions_url(display: "admin", years: "all", delegate: delegate.id), target: "_blank" %></li>
<li><%= link_to "#{delegate.name}", competitions_url(display: "admin", years: "all", state: "past", delegate: delegate.id), target: "_blank" %></li>
<% end %>
</ul>
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/competitions_mailer/submit_results_nag.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Senior Delegate: You can view the <%= "history".pluralize(@competition.delegates.count) %> of the <%= "Delegate".pluralize(@competition.delegates.count) %> here:
<ul>
<% @competition.delegates.each do |delegate| %>
<li><%= link_to "#{delegate.name}", competitions_url(display: "admin", years: "all", delegate: delegate.id), target: "_blank" %></li>
<li><%= link_to "#{delegate.name}", competitions_url(display: "admin", years: "all", state: "past", delegate: delegate.id), target: "_blank" %></li>
<% end %>
</ul>
</p>
Expand Down

0 comments on commit a64e654

Please sign in to comment.