41 lines
908 B
HTML
41 lines
908 B
HTML
{% 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 %}
|