Commit 42c3c5d8a4c9e435c463535180cd7a9cccd3cded

Thomas de Grivel 2023-11-10T09:38:25

fix ci status image

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit_web/templates/repository/log.html.heex b/lib/kmxgit_web/templates/repository/log.html.heex
index 03cee3b..0b5a639 100644
--- a/lib/kmxgit_web/templates/repository/log.html.heex
+++ b/lib/kmxgit_web/templates/repository/log.html.heex
@@ -44,7 +44,7 @@
                 <%= if File.exists?("priv/ci/#{Repository.full_slug(@repo)}/ci/log/rbpkg_ci.#{@repo.slug}.commit_#{commit.hash}.html") do %>
                   <% ci_status_path = Routes.repository_path(@conn, :show, Repository.owner_slug(@repo), Repository.splat(@repo, ["_ci", "ci", "log", "rbpkg_ci.#{@repo.slug}.commit_#{commit.hash}.html"])) %>
                   <%= link to: ci_status_path do %>
-                    <img src={"/_images/status_#{commit.ci_status}.32.png"} alt={commit.ci_status} class="status-#{@git.log1.ci_status}" />
+                    <img src={"/_images/status_#{commit.ci_status}.32.png"} alt={commit.ci_status} class={"status-#{@git.log1.ci_status}"} />
                   <% end %>
                 <% end %>
               </td>