Account history view

This commit is contained in:
Raphael Michel
2016-10-09 12:20:21 +02:00
parent db49f8ea89
commit 067b80cd3c
7 changed files with 79 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
{% extends "pretixcontrol/base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block title %}{% trans "Account history" %}{% endblock %}
{% block content %}
<h1>{% trans "Account history" %}</h1>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
{% trans "Account history" %}
</h3>
</div>
{% include "pretixcontrol/includes/logs.html" with obj=user %}
</div>
{% endblock %}

View File

@@ -35,6 +35,15 @@
{% endif %}
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label" for="id_new_pw_repeat">{% trans "Account history" %}</label>
<div class="col-md-9 static-form-row">
<a href="{% url "control:user.settings.history" %}">
<span class="fa fa-history"></span>
{% trans "Show account history" %}
</a>
</div>
</div>
</fieldset>
<div class="form-group submit-group">
<button type="submit" class="btn btn-primary btn-save">