Skip to content

Commit

Permalink
NeTEx : Meilleur affichage résumé des erreurs (#4241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitfred authored Oct 8, 2024
1 parent 1b5802e commit 9f8d37a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<% link = resource_path(@conn, :details, @resource.id) <> "#validation-report" %>
<% {severity, count} = NeTEx.count_max_severity(@validation.result) %>
<a href={link}>
<span class={summary_class(%{severity: severity, count_errors: count})}>
<span class={summary_class(%{severity: String.capitalize(severity), count_errors: count})}>
<%= if NeTEx.no_error?(severity) do %>
<%= dgettext("page-dataset-details", "No error detected") %>
<% else %>
Expand Down

0 comments on commit 9f8d37a

Please sign in to comment.