Commit 8465730468164114903b5e9e9767a3d04498ceec

Thomas de Grivel 2022-02-19T18:01:16

remove some hr

diff --git a/lib/kmxgit_web/templates/repository/show_files.html.heex b/lib/kmxgit_web/templates/repository/show_files.html.heex
index 7849f0a..1d8a67c 100644
--- a/lib/kmxgit_web/templates/repository/show_files.html.heex
+++ b/lib/kmxgit_web/templates/repository/show_files.html.heex
@@ -4,7 +4,7 @@
     <%= if @git.log1 do %>
       <%= render("show_commit_message.html", assigns) %>
     <% end %>
-    <hr/>
+    <br/>
     <h2><%= gettext("Files") %></h2>
     <ul>
       <%= for file <- @git.files do %>
@@ -22,7 +22,6 @@
     </ul>
   </div>
   <div class="col col-12 col-md-5">
-    <hr/>
     <%= render("show_properties.html", assigns) %>
   </div>
 </div>
diff --git a/lib/kmxgit_web/templates/user/show.html.heex b/lib/kmxgit_web/templates/user/show.html.heex
index ccc746b..166c197 100644
--- a/lib/kmxgit_web/templates/user/show.html.heex
+++ b/lib/kmxgit_web/templates/user/show.html.heex
@@ -1,9 +1,8 @@
 <div class="container-fluid">
   <div class="row">
-    <div class="col col-12 col-sm-7">
-      <h1><%= @user.slug.slug %></h1>
-    </div>
-    <div class="col col-12 col-sm-4">
+    <div class="col col-12">
+      <%= render("avatar.html", conn: @conn, email: @user.email, size: 256, title: User.login(@user), class: "avatar-lg") %>
+      <h1><%= @user.name %> (<%= @user.slug.slug %>)</h1>
       <%= if @current_user && @user.id == @current_user.id do %>
         <%= link gettext("New repository"),
             to: Routes.repository_path(@conn, :new, @user.slug.slug),
@@ -12,13 +11,6 @@
             to: Routes.user_path(@conn, :edit, @user.slug.slug),
             class: "btn btn-primary" %>
       <% end %>
-    </div>
-  </div>
-  <div class="row">
-    <div class="col col-12">
-      <hr/>
-      <%= render("avatar.html", conn: @conn, email: @user.email, size: 256, title: User.login(@user), class: "avatar-lg") %>
-      <h1><%= @user.name %></h1>
       <div class="col col-12 col-md-8">
         <%= if @user.description do %>
           <%= raw Earmark.as_html!(@user.description) %>
@@ -28,7 +20,6 @@
   </div>
   <div class="row">
     <div class="col col-12 col-md-7">
-      <hr/>
       <h2><%= gettext "Repositories" %></h2>
       <ul>
         <%= for repo <- @repos do %>
@@ -39,7 +30,6 @@
       </ul>
     </div>
     <div class="col col-12 col-md-4">
-      <hr/>
       <h2><%= gettext "Properties" %></h2>
       <table class="table admin-properties">
         <tr>