Hash :
acd72555
Author :
Thomas de Grivel
Date :
2022-01-10T08:00:43
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<div class="container-fluid">
<div class="row">
<div class="col col-12">
<%= render("show_title.html", assigns) %>
<h2>
<%= gettext("Commit") %>
<%= @commit.hash %>
</h2>
</div>
</div>
<div class="row">
<hr/>
<div class="col col-12 col-md-7">
<p>
<%= @commit.message %>
</p>
<hr/>
</div>
<div class="col col-12 col-md-5">
<table class="table">
<tr>
<th><%= gettext("Actions") %></th>
<td>
<%= link gettext("Browse"), to: Routes.repository_path(@conn, :show, Repository.owner_slug(@repo), Repository.splat(@repo, ["_tree", @commit.hash])), class: "btn btn-primary" %>
</td>
</tr>
<tr>
<th><%= gettext("Author") %></th>
<td><%= @commit.author %></td>
</tr>
<tr>
<th><%= gettext("Date") %></th>
<td><%= @commit.date |> String.replace("T", " ") |> String.replace("+", " +") %></td>
</tr>
</table>
</div>
</div>
</div>