Hash :
248f4f3e
Author :
Thomas de Grivel
Date :
2022-01-25T21:48:35
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 39 40
<div class="row">
<div class="col col-12 col-md-7">
<%= render("show_branch.html", assigns) %>
<hr/>
<%= if @git.log1 do %>
<%= render("show_commit_message.html", assigns) %>
<% end %>
<%= if @git.content do %>
<hr/>
<%= render("show_git_content.html", assigns) %>
<% else %>
<hr/>
<h2><%= gettext("Files") %></h2>
<ul>
<%= for file <- @git.files do %>
<li>
<%= case file.type do %>
<% "blob" -> %>
<%= link file.name, to: file.url %>
<% "tree" -> %>
<%= link "#{file.name}/", to: file.url %>
<% _ -> %>
<%= "#{file.type} #{file.name}" %>
<% end %>
</li>
<% end %>
</ul>
<% end %>
</div>
<div class="col col-12 col-md-5">
<hr/>
<%= render("show_properties.html", assigns) %>
</div>
</div>
<div class="row">
<%= render("show_readmes.html", assigns) %>
</div>