]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Add more management links
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Oct 2018 00:10:39 +0000 (01:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Oct 2018 00:10:39 +0000 (01:10 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/user.html

index b9b8b635effe789dee41c47c3ad92fdbf9db396a..e527b7844aa5e68920e0255e2cb815b89269e4fb 100644 (file)
                                                </p>
                                        {% end %}
 
-                                       <div class="btn-toolbar">
-                                               {% if account.can_be_managed_by(current_user) %}
-                                                       <a class="btn btn-warning btn-sm btn-block" href="/users/{{ account.uid }}/edit">
+                                       {% if account.can_be_managed_by(current_user) %}
+                                               <div class="btn-toolbar justify-content-center">
+                                                       <a class="btn btn-warning" href="/users/{{ account.uid }}/edit">
                                                                <span class="fas fa-edit mr-2"></span> {{ _("Edit") }}
                                                        </a>
-                                               {% end %}
-                                       </div>
+
+                                                       <a class="btn btn-light ml-2" href="/users/{{ account.uid }}/passwd">
+                                                               {{ _("Change Password") }}
+                                                       </a>
+
+                                                       <a class="btn btn-light ml-2" href="/users/{{ account.uid }}/ssh-keys">
+                                                               <span class="fas fa-key mr-2"></span> {{ _("Manage SSH Keys") }}
+                                                       </a>
+                                               </div>
+                                       {% end %}
                                </div>
                        </div>
                </div>