Hash :
60c50e63
Author :
Thomas de Grivel
Date :
2021-11-19T17:46:49
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 41
<div class="container-fluid">
<div class="row">
<div class="col col-12 col-sm-7">
<h1 id="repo_title"><%= link Repository.owner_slug(@repo), to: Routes.slug_path(@conn, :show, Repository.owner_slug(@repo)) %>/<%= link @repo.slug, to: Routes.repository_path(@conn, :show, Repository.owner_slug(@repo), String.split(@repo.slug, "/")) %></h1>
</div>
<div class="col col-12 col-sm-4">
<%= link gettext("Edit"),
to: Routes.repository_path(@conn, :edit, Repository.owner_slug(@repo), String.split(@repo.slug, "/")),
class: "btn btn-primary" %>
</div>
</div>
<div class="row">
<div class="col col-12 col-md-7">
<hr/>
</div>
<div class="col col-12 col-md-4">
<hr/>
<h2><%= gettext "Properties" %></h2>
<table class="table admin-properties">
<tr>
<th><%= gettext "Description" %></th>
<td>
<%= if @repo.description do %>
<%= raw Earmark.as_html!(@repo.description) %>
<% end %>
</td>
</tr>
<tr>
<th><%= gettext "Users" %></th>
<td>
<%= for user <- @members do %>
<%= link user.slug.slug, to: Routes.slug_path(@conn, :show, user.slug.slug) %>
<% end %>
</td>
</tr>
</table>
</div>
</div>
</div>