aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/users/user_detail.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-13 17:26:25 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-13 17:26:25 +0100
commitefbbd480ddc62e695123d31c31d233b0df5155bd (patch)
treebc2fb465edd5050d83c97f280b1aac8e023fe3e5 /pyblackbird_cc/templates/users/user_detail.html
After first pre-commit processing
Diffstat (limited to 'pyblackbird_cc/templates/users/user_detail.html')
-rw-r--r--pyblackbird_cc/templates/users/user_detail.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/users/user_detail.html b/pyblackbird_cc/templates/users/user_detail.html
new file mode 100644
index 0000000..7d52259
--- /dev/null
+++ b/pyblackbird_cc/templates/users/user_detail.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+
+{% load static %}
+
+{% block title %}
+ User:
+ {{ object.name }}
+{% endblock title %}
+{% block content %}
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-12">
+ <h2>{{ object.name }}</h2>
+ </div>
+ </div>
+ {% if object == request.user %}
+ <!-- Action buttons -->
+ <div class="row">
+ <div class="col-sm-12">
+ <a class="btn btn-primary" href="{% url 'users:update' %}" role="button">My Info</a>
+ <a class="btn btn-primary"
+ href="{% url 'account_email' %}"
+ role="button">E-Mail</a>
+ <a class="btn btn-primary" href="{% url 'mfa_index' %}" role="button">MFA</a>
+ <!-- Your Stuff: Custom user template urls -->
+ </div>
+ </div>
+ <!-- End Action buttons -->
+ {% endif %}
+ </div>
+{% endblock content %}