]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Fix spacing when listing SSH keys
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 Oct 2018 09:37:42 +0000 (10:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 Oct 2018 09:37:42 +0000 (10:37 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/ssh-keys/index.html

index b581c39311f3750e5fe73027c661d3112d26d734..250a21255849314a8e26dd67b8cf18d759039540 100644 (file)
@@ -8,15 +8,17 @@
        <ul class="list-group mb-3">
                {% for key in account.ssh_keys %}
                        <li class="list-group-item">
-                               <h5 class="mb-1">
+                               <h5 class="mb-3">
                                        <a class="text-dark" href="/users/{{ account.uid }}/ssh-keys/{{ key.hash_md5() }}">
                                                {{ key.comment or _("%s Key") % key.key_type.decode() }}
                                        </a>
                                </h5>
 
-                               {% for h in (key.hash_md5(), key.hash_sha256(), key.hash_sha512()) %}
-                                       <p class="text-monospace small text-truncate mb-0">{{ h }}</p>
-                               {% end %}
+                               <p class="text-monospace small text-truncate">
+                                       {% for h in (key.hash_md5(), key.hash_sha256(), key.hash_sha512()) %}
+                                               {{ h }}<br>
+                                       {% end %}
+                               </p>
 
                                {% if key.options %}
                                        <p class="my-1">{{ _("Options") }}</p>