2015-05-07 14:37:00 +02:00
|
|
|
{% extends "hobo/base.html" %}
|
|
|
|
{% load i18n service %}
|
|
|
|
|
2015-10-18 16:11:13 +02:00
|
|
|
{% block breadcrumb %}
|
|
|
|
{{ block.super }}
|
|
|
|
<a href="{% url 'profile-home' %}">{% trans 'User Profile' %}</a>
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-05-07 14:37:00 +02:00
|
|
|
{% block appbar %}
|
2015-10-18 16:11:13 +02:00
|
|
|
<h2>{% trans 'User Profile' %}</h2>
|
2018-08-31 16:14:01 +02:00
|
|
|
<span class="actions">
|
2016-09-20 08:58:07 +02:00
|
|
|
<a rel="popup" href="{% url 'profile-add-attribute' %}">{% trans 'New attribute' %}</a>
|
2018-08-31 16:14:01 +02:00
|
|
|
</span>
|
2015-05-07 14:37:00 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2016-06-17 23:21:54 +02:00
|
|
|
<p class="hint">
|
2022-09-29 17:32:15 +02:00
|
|
|
{% blocktrans trimmed %}
|
2016-06-17 23:21:54 +02:00
|
|
|
Use drag and drop with the ⣿ handles to reorder the profile fields.
|
|
|
|
{% endblocktrans %}
|
|
|
|
</p>
|
|
|
|
|
2015-05-07 14:37:00 +02:00
|
|
|
<div class="objects-list" id="attributes-list" data-reorder-url="{% url 'profile-reorder' %}">
|
|
|
|
{% for object in object_list %}
|
|
|
|
<div data-attribute-id="{{object.id}}" {% if object.disabled %}class="disabled"{% endif %}>
|
2021-07-27 17:00:44 +02:00
|
|
|
<span class="handle">⣿</span> <span class="label">{{object.label}} <span class="extra-info">({{object.get_real_kind_display}}, "{{ object.name }}")</span></span>
|
2016-07-04 09:59:43 +02:00
|
|
|
<a rel="popup" href="{% url 'profile-attribute-options' name=object.name %}">{% trans 'options' %}</a>
|
2015-05-07 14:37:00 +02:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|