mirror of
https://github.com/pretix/pretix.git
synced 2026-05-21 17:54:08 +00:00
simplify account info panel
This commit is contained in:
@@ -9,43 +9,30 @@
|
|||||||
<h2>
|
<h2>
|
||||||
{% trans "Your account" %}
|
{% trans "Your account" %}
|
||||||
</h2>
|
</h2>
|
||||||
<div class="panel panel-primary items">
|
<div class="row">
|
||||||
<div class="panel-heading">
|
<dl>
|
||||||
<h3 class="panel-title">
|
<div class="col-sm-6">
|
||||||
{% trans "Account information" %}
|
<dt>{{ customer.name }}</dt>
|
||||||
</h3>
|
<dd>{{ customer.email }}</dd>
|
||||||
</div>
|
{% if customer.phone %}
|
||||||
<div class="panel-body">
|
<dd><spani class="fa fa-phone" aria-hidden="true"></span> {{ customer.phone }}</dd>
|
||||||
<dl class="dl-horizontal">
|
{% endif %}
|
||||||
|
<dd>
|
||||||
|
<ul class="list-inline">
|
||||||
|
<li><a href="{% eventurl request.organizer "presale:organizer.customer.change" %}">
|
||||||
|
<span class="fa fa-edit" aria-hidden=true></span> {% trans "Change account information" %}</a></li>
|
||||||
|
<li><a href="{% eventurl request.organizer "presale:organizer.customer.password" %}">
|
||||||
|
<span class="fa fa-key" aria-hidden=true></span> {% trans "Change password" %}</a></li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6 text-right">
|
||||||
<dt>{% trans "Customer ID" %}</dt>
|
<dt>{% trans "Customer ID" %}</dt>
|
||||||
<dd>#{{ customer.identifier }}</dd>
|
<dd>#{{ customer.identifier }}</dd>
|
||||||
{% if customer.provider %}
|
|
||||||
<dt>{% trans "Login method" %}</dt>
|
|
||||||
<dd>{{ customer.provider.name }}</dd>
|
|
||||||
{% endif %}
|
|
||||||
<dt>{% trans "Email" %}</dt>
|
|
||||||
<dd>{{ customer.email }}
|
|
||||||
</dd>
|
|
||||||
<dt>{% trans "Name" %}</dt>
|
|
||||||
<dd>{{ customer.name }}</dd>
|
|
||||||
{% if customer.phone %}
|
|
||||||
<dt>{% trans "Phone" %}</dt>
|
|
||||||
<dd>{{ customer.phone }}</dd>
|
|
||||||
{% endif %}
|
|
||||||
</dl>
|
|
||||||
<div class="text-right">
|
|
||||||
<a href="{% eventurl request.organizer "presale:organizer.customer.change" %}"
|
|
||||||
class="btn btn-default">
|
|
||||||
{% trans "Change account information" %}
|
|
||||||
</a>
|
|
||||||
{% if not customer.provider %}
|
|
||||||
<a href="{% eventurl request.organizer "presale:organizer.customer.password" %}"
|
|
||||||
class="btn btn-default">
|
|
||||||
{% trans "Change password" %}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<ul class="nav nav-tabs" role="tablist">
|
<ul class="nav nav-tabs" role="tablist">
|
||||||
|
|||||||
Reference in New Issue
Block a user